summaryrefslogtreecommitdiff
path: root/examples/script/context2d/context2d.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/script/context2d/context2d.pro')
-rw-r--r--examples/script/context2d/context2d.pro17
1 files changed, 3 insertions, 14 deletions
diff --git a/examples/script/context2d/context2d.pro b/examples/script/context2d/context2d.pro
index d2bc25d..483f45b 100644
--- a/examples/script/context2d/context2d.pro
+++ b/examples/script/context2d/context2d.pro
@@ -14,21 +14,10 @@ SOURCES += qcontext2dcanvas.cpp \
main.cpp
RESOURCES += context2d.qrc
-contains(QT_CONFIG, scripttools): QT += scripttools
+qtHaveModule(scripttools): QT += scripttools
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script/context2d
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS context2d.pro scripts
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script/context2d
-INSTALLS += target sources
+target.path = $$[QT_INSTALL_EXAMPLES]/script/context2d
+INSTALLS += target
-symbian:{
- TARGET.UID3 = 0xA000C608
- CONFIG += qt_example
- TARGET.EPOCHEAPSIZE = 0x200000 0xA00000
- contextScripts.path = .
- contextScripts.files = scripts
- DEPLOYMENT += contextScripts
-}
maemo5: CONFIG += qt_example