summaryrefslogtreecommitdiffstats
path: root/qmake/examples/precompile/precompile.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/examples/precompile/precompile.pro')
-rw-r--r--qmake/examples/precompile/precompile.pro19
1 files changed, 19 insertions, 0 deletions
diff --git a/qmake/examples/precompile/precompile.pro b/qmake/examples/precompile/precompile.pro
new file mode 100644
index 00000000..1f02d1a1
--- /dev/null
+++ b/qmake/examples/precompile/precompile.pro
@@ -0,0 +1,19 @@
+#############################################
+#
+# Example for using Precompiled Headers
+#
+#############################################
+TEMPLATE = app
+LANGUAGE = C++
+CONFIG += console precompile_header
+
+# Use Precompiled headers (PCH)
+PRECOMPILED_HEADER = stable.h
+
+HEADERS += stable.h \
+ myobject.h
+SOURCES += main.cpp \
+ myobject.cpp \
+ util.cpp
+FORMS = mydialog.ui
+