summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-03-12 14:32:10 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-03-16 09:15:38 +0000
commit3ad671581149d22eaa2f1562f32cea754bfb1087 (patch)
treec9d991607e067ce5c5169c82a11ffb2c6527dbfa
parent19e41c59771bda6e64432a6e007afe76361ae3ef (diff)
Certain test cases can only be built with QML available
Change-Id: I27b6bef6382c599a7ec412895fbb4da0d1760cd0 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
-rw-r--r--tests/auto/auto.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 329ba7b5..ffcb62cf 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,9 +1,11 @@
TEMPLATE = subdirs
SUBDIRS += qsensor
-SUBDIRS += sensors2qmlapi
+qtHaveModule(qml) {
+ SUBDIRS += sensors2qmlapi
+ SUBDIRS += qtsensors5
+}
#SUBDIRS += legacy_sensors
-SUBDIRS += qtsensors5
SUBDIRS += qsensorgestures
SUBDIRS += qsensorgestureplugins
SUBDIRS += cmake