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.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/widgets/widgets.pro b/tests/auto/widgets/widgets.pro
index 441eea0fa..60e5cc11f 100644
--- a/tests/auto/widgets/widgets.pro
+++ b/tests/auto/widgets/widgets.pro
@@ -1,3 +1,6 @@
+include($$QTWEBENGINE_OUT_ROOT/qtwebengine-config.pri)
+QT_FOR_CONFIG += webengine-private
+
TEMPLATE = subdirs
SUBDIRS += \
@@ -14,8 +17,8 @@ SUBDIRS += \
qwebenginesettings \
qwebengineview
-contains(WEBENGINE_CONFIG, use_spellchecker):!cross_compile {
- !contains(WEBENGINE_CONFIG, use_native_spellchecker) {
+qtConfig(spellchecker):!cross_compile {
+ !qtConfig(native-spellchecker) {
SUBDIRS += qwebenginespellcheck
} else {
message("Spellcheck test will not be built because it depends on usage of Hunspell dictionaries.")