summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/widgets.pro')
-rw-r--r--tests/auto/widgets/widgets.pro9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/auto/widgets/widgets.pro b/tests/auto/widgets/widgets.pro
index 2f5416701..799eaf1c2 100644
--- a/tests/auto/widgets/widgets.pro
+++ b/tests/auto/widgets/widgets.pro
@@ -13,7 +13,10 @@ SUBDIRS += \
qwebenginesettings \
qwebengineview
-# QTBUG-53135, osx does not use hunspell
-!contains(WEBENGINE_CONFIG, no_spellcheck):!osx:!cross_compile {
- SUBDIRS += qwebenginespellcheck
+!contains(WEBENGINE_CONFIG, no_spellcheck):!cross_compile {
+ !contains(WEBENGINE_CONFIG, use_native_spellchecker) {
+ SUBDIRS += qwebenginespellcheck
+ } else {
+ message("Spellcheck test will not be built because it depends on usage of Hunspell dictionaries.")
+ }
}