summaryrefslogtreecommitdiffstats
path: root/examples/qmake/precompile/precompile.pro
blob: 6360f06f075ca13932fe23c9669604cf83772b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################
#
# Example for using Precompiled Headers
#
#############################################
#! [0]
TEMPLATE  = app
LANGUAGE  = C++
CONFIG	 += console precompile_header

# Use Precompiled headers (PCH)
PRECOMPILED_HEADER  = stable.h

HEADERS	  = stable.h \
            mydialog.h \
            myobject.h
SOURCES	  = main.cpp \
            mydialog.cpp \
            myobject.cpp \
            util.cpp
FORMS     = mydialog.ui
#! [0]