summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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