diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2017-10-25 09:47:47 +0200 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@qt.io> | 2017-10-26 07:40:32 +0000 |
commit | 4649f2a11fe4b87e9b79f50ff8ac99ba9a2344f4 (patch) | |
tree | 5ca3302840694c12787ea6bf395ebeeb5aa84eef /tests | |
parent | af8039da827e2389236f9acd335648f94cfaad67 (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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/widgets.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets.pro b/tests/auto/widgets/widgets.pro index 441eea0fa..7bab18f00 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 |