diff options
Diffstat (limited to 'examples/script/script.pro')
-rw-r--r-- | examples/script/script.pro | 37 |
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 |