summaryrefslogtreecommitdiff
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-10-26 13:06:39 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-26 07:31:02 +0200
commit6c7f668043e44218e2538dc0a453a43d9adf7e45 (patch)
tree6527ec2ac1b029fbeb78f2465f090ed295318efb /tests/auto/auto.pro
parent88087611ef6d0c4800de756a850496085c41c282 (diff)
downloadqtscript-6c7f668043e44218e2538dc0a453a43d9adf7e45.tar.gz
Fixed compile with -no-widgets
Disable tests which need QtWidgets when that module is not available. Note that a missing QtWidgets also implies a missing QtScriptTools. Change-Id: I59ae3c25cfebf24ec9f8418b78b8b9f8c1caa7e3 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index b5936c0..1d4d614 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -23,4 +23,12 @@ SUBDIRS=\
qtipc \
qscriptengineagent
+isEmpty(QT.widgets.name):SUBDIRS -= \
+ qscriptable \
+ qscriptengine \
+ qscriptenginedebugger \
+ qscriptextqobject \
+ qscriptqwidgets \
+ qscriptvalue
+
!cross_compile: SUBDIRS += host.pro