summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 359bc3145..4d9f78917 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,5 +1,7 @@
TEMPLATE = subdirs
SUBDIRS = quick
-qtHaveModule(widgets): SUBDIRS += widgets
+qtHaveModule(widgets):equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 2) {
+ SUBDIRS += widgets
+}