summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2012-07-05 16:19:00 +0900
committerQt by Nokia <qt-info@nokia.com>2012-07-10 13:29:26 +0200
commit88b171a49de1ef7ea2b45631cc665371dd2a4b44 (patch)
tree276de06eb70668562ade182ac21f617ae8f0f91f /tests
parent9dcb94f5c3adf512cec6df6c79973b81e2fa2586 (diff)
downloadqtsvg-88b171a49de1ef7ea2b45631cc665371dd2a4b44.tar.gz
Make qtsvg compile with -no-widgets
disable building all examples, almost all tests and a plugin Change-Id: I80f923dfe2c3cfa6e27b52db092a9770c3d9fbd4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests')
-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