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.pro15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 7052605..e7da7df 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,8 +1,9 @@
TEMPLATE=subdirs
-SUBDIRS=\
- qsvgdevice \
- qsvggenerator \
- qsvgrenderer \
- qicon_svg \
-
-!cross_compile: SUBDIRS += host.pro
+!contains(QT_CONFIG, no-widgets) {
+ SUBDIRS = \
+ qsvgdevice \
+ qsvggenerator \
+ qsvgrenderer \
+ qicon_svg \
+}
+!cross_compile: SUBDIRS += host.pro