diff --git a/src/process/process.pro b/src/process/process.pro
index 443c5c3d929949580a6e2ca0f5c43569f706e548..1d57a6c4081290c185aa5a1fbabfba7efda77113 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