summaryrefslogtreecommitdiff
path: root/examples/script/script.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2013-02-08 16:27:41 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2013-02-08 16:31:20 +0100
commit84f9848fd9f20536b18834a54ef15c6a65f8a682 (patch)
treec31353dd1434692b2b4f351126b3abcd8460b8a8 /examples/script/script.pro
parente7a8eef49d6d205e6cb549e879a27af4fe7fcce4 (diff)
parent689406ac2424095d6cd4e6bcb3430e53a7e7bbfa (diff)
downloadqtscript-wip/android.tar.gz
Merge branch 'dev' into androidwip/android
Change-Id: Iee99e20b0c2eedd01e06a93b10381c03b42788dc
Diffstat (limited to 'examples/script/script.pro')
-rw-r--r--examples/script/script.pro38
1 files changed, 22 insertions, 16 deletions
diff --git a/examples/script/script.pro b/examples/script/script.pro
index 9e66a61..3e1eae6 100644
--- a/examples/script/script.pro
+++ b/examples/script/script.pro
@@ -1,23 +1,29 @@
TEMPLATE = subdirs
-SUBDIRS = customclass
-!contains(QT_CONFIG, no-gui):SUBDIRS += helloscript context2d defaultprototypes
+SUBDIRS = \
+ customclass \
+ qsdbg
-!wince*:!contains(QT_CONFIG, no-gui):SUBDIRS += qscript marshal
-!wince*:SUBDIRS *= marshal
+qtHaveModule(widgets) {
+ SUBDIRS += \
+ helloscript \
+ context2d \
+ defaultprototypes
-symbian: SUBDIRS = context2d
+ qtHaveModule(uitools) {
+ SUBDIRS += \
+ calculator \
+ qstetrix
+ }
-isEmpty(QT.widgets.name):SUBDIRS -= \
- context2d \
- defaultprototypes \
- helloscript \
- qscript
+ !wince {
+ SUBDIRS += \
+ qscript
+ }
+}
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS script.pro README
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script
-INSTALLS += target sources
+!wince {
+ SUBDIRS += \
+ marshal
+}
-symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example