summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/factorial
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-05-20 13:34:11 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-05-20 13:34:11 (GMT)
commitac5fceafb00a2f007239f9b0fc89fe01a2064d62 (patch)
treedbce8727cf7599c07e8151e7993b59cd5f3e40a6 /examples/statemachine/factorial
parent5504a102e9f608fed7377332b8de7b823cf22b85 (diff)
downloadQt-ac5fceafb00a2f007239f9b0fc89fe01a2064d62.zip
Qt-ac5fceafb00a2f007239f9b0fc89fe01a2064d62.tar.gz
Qt-ac5fceafb00a2f007239f9b0fc89fe01a2064d62.tar.bz2
compile with -qtnamespace, clean up the example .pro files
Diffstat (limited to 'examples/statemachine/factorial')
-rw-r--r--examples/statemachine/factorial/factorial.pro11
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/statemachine/factorial/factorial.pro b/examples/statemachine/factorial/factorial.pro
index ac79117..14a6833 100644
--- a/examples/statemachine/factorial/factorial.pro
+++ b/examples/statemachine/factorial/factorial.pro
@@ -1,10 +1,11 @@
-TEMPLATE = app
-TARGET =
QT = core
win32: CONFIG += console
mac:CONFIG -= app_bundle
-DEPENDPATH += .
-INCLUDEPATH += .
-# Input
SOURCES += main.cpp
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/statemachine/factorial
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS factorial.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/statemachine/factorial
+INSTALLS += target sources