summaryrefslogtreecommitdiffstats
path: root/examples/script/script.pro
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2012-12-04 16:52:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-05 15:45:57 +0100
commit8a8112429cafaa8532ae4ec5cb711990604de485 (patch)
tree12116b3e9341fecc2d403798cbc3ff57a7b48c38 /examples/script/script.pro
parentfbbefd2882f062330ffb0dd926b83204116a0d71 (diff)
centralize and fixup example sources install targetsv5.0.0-rc1
This follows suit with aeb036e in qtbase. Change-Id: I695c3f7c69cfe811ffe05f7cb381e3216b76e7a8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/script/script.pro')
-rw-r--r--examples/script/script.pro37
1 files changed, 23 insertions, 14 deletions
diff --git a/examples/script/script.pro b/examples/script/script.pro
index ef0ab01..245824c 100644
--- a/examples/script/script.pro
+++ b/examples/script/script.pro
@@ -1,20 +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
+!isEmpty(QT.widgets.name) {
+ SUBDIRS += \
+ helloscript \
+ context2d \
+ defaultprototypes
-isEmpty(QT.widgets.name):SUBDIRS -= \
- context2d \
- defaultprototypes \
- helloscript \
- qscript
+ !isEmpty(QT.uitools.name) {
+ SUBDIRS += \
+ calculator \
+ qstetrix
+ }
-# 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 += \
+ qscript
+ }
+}
+
+!wince {
+ SUBDIRS += \
+ marshal
+}
maemo5: CONFIG += qt_example