summaryrefslogtreecommitdiffstats
path: root/src/webengine/webengine.pro
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2017-09-13 19:12:38 +0200
committerMichal Klocek <michal.klocek@qt.io>2017-09-20 10:43:09 +0000
commit1691d2298a8adf511ed95d5aa5d4410adcbdd1e3 (patch)
treedaf2617622536fc9c96ed9818ecba3d892f999b7 /src/webengine/webengine.pro
parentc9b3baa2e2825df6b06e7366d154341f73d4e326 (diff)
Remove WEBENGINE_CONFIG from configure
Do not store flags in qmake.cache with WEBENGINE_CONFIG. Use directly qtConfig values insted. This makes configuration more consistent, simplifies handling and avoids passing values from qtConfig to WEBENIGNE_CONFIG, which then were passed to gn. [ChangeLog] Removing WEBENGINE_CONFIG from qtwebengine configure Change-Id: I1a773fb4bff6d67ad75c237d044998051d92ab51 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/webengine/webengine.pro')
-rw-r--r--src/webengine/webengine.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webengine/webengine.pro b/src/webengine/webengine.pro
index ac2727580..4b2170cbc 100644
--- a/src/webengine/webengine.pro
+++ b/src/webengine/webengine.pro
@@ -67,11 +67,11 @@ qtConfig(testsupport) {
DEFINES += ENABLE_QML_TESTSUPPORT_API
}
-contains(WEBENGINE_CONFIG, use_spellchecker) {
+qtConfig(spellchecker) {
DEFINES += ENABLE_SPELLCHECK
}
-use?(pdf) {
+qtConfig(printing-and-pdf) {
DEFINES += ENABLE_PDF
}