summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2012-05-24 15:03:54 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-28 07:51:55 +0200
commit373970eaf7a2906001cbd44543bc657eee6177da (patch)
tree29335dc1ebb727d081aa3fdaba98b3787200c33e /tests/auto/auto.pro
parentabd9560251665063c6f717f4c89c791ef42154be (diff)
Do not build qmltest related tests when no support is available.
Support for qmltest may be missing when building qtdeclarative. This change modifies the autotests so that those relying on qmltest will only be built if it is present. Change-Id: I8032120817294149d015c68dd661b96da04c7394 Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 76f7af0fe..1f5b55b2e 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,3 +1,7 @@
TEMPLATE = subdirs
-SUBDIRS = threed imports qml3d
-!win32 : SUBDIRS += qml3d_visual
+SUBDIRS = threed imports
+
+contains(QT_CONFIG, qmltest) {
+ SUBDIRS += qml3d
+ !win32 : SUBDIRS += qml3d_visual
+}