summaryrefslogtreecommitdiff
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index cd17e2ea4d..d730f980d8 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -7,6 +7,7 @@ SUBDIRS += \
debugger \
diff \
extensionsystem \
+ externaltool \
environment \
generichighlighter \
profilewriter \
@@ -18,6 +19,12 @@ SUBDIRS += \
filesearch \
valgrind
-#contains (QT_CONFIG, declarative) {
-#SUBDIRS += qml
-#}
+lessThan(QT_MAJOR_VERSION, 5) {
+ contains(QT_CONFIG, declarative) {
+ SUBDIRS += qml
+ }
+} else {
+ qtHaveModule(declarative) {
+ SUBDIRS += qml
+ }
+}