summaryrefslogtreecommitdiffstats
path: root/src/webengine/webengine.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/webengine.pro')
-rw-r--r--src/webengine/webengine.pro5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/webengine/webengine.pro b/src/webengine/webengine.pro
index 9ec0db5cb..e4b274a82 100644
--- a/src/webengine/webengine.pro
+++ b/src/webengine/webengine.pro
@@ -57,10 +57,7 @@ isQMLTestSupportApiEnabled() {
DEFINES += ENABLE_QML_TESTSUPPORT_API
}
-no_spellcheck {
- DEFINES += QT_NO_SPELLCHECK
- MODULE_DEFINES += QT_NO_SPELLCHECK
-} else {
+!contains(WEBENGINE_CONFIG, no_spellcheck) {
DEFINES += ENABLE_SPELLCHECK
}