From ec029e0492b4b22ff703ef8d74c551f3f1af7926 Mon Sep 17 00:00:00 2001
From: Andy Shaw <andy.shaw@digia.com>
Date: Tue, 3 Feb 2015 06:39:28 +0100
Subject: [PATCH] Ensure QtWebEngineProcess is built in release mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
---
 src/process/process.pro | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
GitLab