summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2017-10-25 09:47:47 +0200
committerMichael BrĂ¼ning <michael.bruning@qt.io>2017-10-26 07:40:32 +0000
commit4649f2a11fe4b87e9b79f50ff8ac99ba9a2344f4 (patch)
tree5ca3302840694c12787ea6bf395ebeeb5aa84eef
parentaf8039da827e2389236f9acd335648f94cfaad67 (diff)
Build accessibility tests only when Qt is configured with accessibility
Original patch by Daniel Mack <daniel@zonque.org> Task-number: QTBUG-64015 Change-Id: I7dd0a1aa9bff08c6d19e818acf0e1b8b4b701f5b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--tests/auto/widgets/widgets.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets.pro b/tests/auto/widgets/widgets.pro
index 441eea0f..7bab18f0 100644
--- a/tests/auto/widgets/widgets.pro
+++ b/tests/auto/widgets/widgets.pro
@@ -1,7 +1,6 @@
TEMPLATE = subdirs
SUBDIRS += \
- qwebengineaccessibility \
qwebenginedefaultsurfaceformat \
qwebenginedownloads \
qwebenginefaviconmanager \
@@ -14,6 +13,10 @@ SUBDIRS += \
qwebenginesettings \
qwebengineview
+qtConfig(accessibility) {
+ SUBDIRS += qwebengineaccessibility
+}
+
contains(WEBENGINE_CONFIG, use_spellchecker):!cross_compile {
!contains(WEBENGINE_CONFIG, use_native_spellchecker) {
SUBDIRS += qwebenginespellcheck