summaryrefslogtreecommitdiffstats
path: root/src/process/process.pro
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-12-01 10:59:29 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-12-02 09:40:21 +0100
commitb292fd17bfc1f422242e7e546a732b7a67384c47 (patch)
treee31fd5031239a03a38b4c7b8cf73eeabdbb7871c /src/process/process.pro
parentc5957ac90cbaccccbd58b3fc73f94cf0d4795e54 (diff)
OSX: Don't show QtWebEngineProcess in the dockv5.4.0
Set the LSUIElement key as Chromium does in its helper app's Info.plist to prevent seeing a jumping icon in the dock while the OS waits in vain for QtWebEngineProcess to create a window. Change-Id: I6c836621ec506fde04bc3825f64c49630a065351 Task-number: QTBUG-42955 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/process/process.pro')
-rw-r--r--src/process/process.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process/process.pro b/src/process/process.pro
index ad1575c81..443c5c3d9 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -1,6 +1,9 @@
TARGET = $$QTWEBENGINEPROCESS_NAME
TEMPLATE = app
+# Needed to set LSUIElement=1
+QMAKE_INFO_PLIST = Info_mac.plist
+
load(qt_build_paths)
contains(QT_CONFIG, qt_framework) {
# Deploy the QtWebEngineProcess app bundle into the QtWebEngineCore framework.