From 827c1c15a242f1b104e905700de11053f9752e1a Mon Sep 17 00:00:00 2001
From: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Date: Mon, 9 May 2016 15:00:26 +0200
Subject: [PATCH] Fix debug-only build on Windows

Do not attempt to build the release version of QtWebEngineProcess if Qt
is not configured for release.

Task-number: QTBUG-53240
Change-Id: Iff52a5049b3eefdd52c405fb80095a4d53c55fba
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@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 1483008f7..cd60b1f91 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -16,7 +16,7 @@ win32 {
 
 load(qt_app)
 
-CONFIG += build_all
+contains(QT_CONFIG, build_all): CONFIG += build_all
 
 contains(QT_CONFIG, qt_framework) {
     # Deploy the QtWebEngineProcess app bundle into the QtWebEngineCore framework.
-- 
GitLab