summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2015-02-03 06:39:28 +0100
committerAndy Shaw <andy.shaw@digia.com>2015-02-03 11:09:57 +0000
commitec029e0492b4b22ff703ef8d74c551f3f1af7926 (patch)
treef272d3df4c7f25dc3e237d3ccfabcdf504072ae6
parent0931e0f2819fa9a6adca078140d86dafda53bb10 (diff)
Ensure QtWebEngineProcess is built in release mode
If debug_and_release is set then QtWebEngineProcess should be built in release mode as it is a separate process and when it is deployed later it will be in the right mode already. Change-Id: I377baa20f01b70db91a7a1cec5f1014b44780546 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r--src/process/process.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/process.pro b/src/process/process.pro
index 443c5c3d9..1d57a6c40 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -1,6 +1,6 @@
TARGET = $$QTWEBENGINEPROCESS_NAME
TEMPLATE = app
-
+!build_pass:contains(QT_CONFIG, debug_and_release):contains(QT_CONFIG, build_all): CONFIG += release
# Needed to set LSUIElement=1
QMAKE_INFO_PLIST = Info_mac.plist