summaryrefslogtreecommitdiff
path: root/examples/script/qstetrix/qstetrix.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/script/qstetrix/qstetrix.pro')
-rw-r--r--examples/script/qstetrix/qstetrix.pro12
1 files changed, 3 insertions, 9 deletions
diff --git a/examples/script/qstetrix/qstetrix.pro b/examples/script/qstetrix/qstetrix.pro
index de02601..6d4bb1c 100644
--- a/examples/script/qstetrix/qstetrix.pro
+++ b/examples/script/qstetrix/qstetrix.pro
@@ -6,15 +6,9 @@ SOURCES = main.cpp \
RESOURCES = tetrix.qrc
-contains(QT_CONFIG, scripttools): QT += scripttools
+qtHaveModule(scripttools): QT += scripttools
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script/qstetrix
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qstetrix.pro *.js
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script/qstetrix
-INSTALLS += target sources
+target.path = $$[QT_INSTALL_EXAMPLES]/script/qstetrix
+INSTALLS += target
-symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example
-
-symbian: warning(This example does not work on Symbian platform)