summaryrefslogtreecommitdiff
path: root/tests/auto/auto.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-01-09 11:23:10 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-03-22 15:55:55 +0000
commit329385a5d53f7c20d25b8b492acdd45a5c5ff194 (patch)
tree6353bee521ffec232ad6944f511da373bca45678 /tests/auto/auto.pro
parentc587036dc630bc3cd00ad5ffc1529f25df185a26 (diff)
downloadqtbase-329385a5d53f7c20d25b8b492acdd45a5c5ff194.tar.gz
Build examples and tests only if their requirements are met
If the respective modules aren't available we cannot build the tests and examples. We drop the qtConfig(opengl) requirement for the opengl examples as a, we would need to make the QtGui configuration available for that to work, and b, we should not add too much detail to the tests and examples build configurations. Checking each test and example for every feature it uses would be too much. Task-number: QTBUG-57255 Change-Id: Ifb043c81ec9e5c487765297bd65704812cd281fc Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r--tests/auto/auto.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index d3c4d470f5..f4ab0d8464 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -31,6 +31,8 @@ else:!qtConfig(process): SUBDIRS -= tools
!qtHaveModule(concurrent): SUBDIRS -= concurrent
!qtHaveModule(network): SUBDIRS -= network
!qtHaveModule(dbus): SUBDIRS -= dbus
+!qtHaveModule(xml): SUBDIRS -= xml
+!qtHaveModule(sql): SUBDIRS -= sql
# Disable the QtDBus tests if we can't connect to the session bus
!cross_compile:qtHaveModule(dbus) {