summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-01-02 11:51:36 +0100
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-01-02 11:53:06 +0100
commit6cef158c0e9d12fc061fdf3b4fd8b6e3361a9e59 (patch)
tree781459a066313f18fa86f6fd4ebee2809306c8ed
parentf8bdc6c7de5ace3ff4b0335cf425e0ebb21ed75d (diff)
parentb292fd17bfc1f422242e7e546a732b7a67384c47 (diff)
Merge remote-tracking branch 'origin/5.4.0' into 5.4
-rw-r--r--src/process/Info_mac.plist22
-rw-r--r--src/process/process.pro3
2 files changed, 25 insertions, 0 deletions
diff --git a/src/process/Info_mac.plist b/src/process/Info_mac.plist
new file mode 100644
index 00000000..de1d010b
--- /dev/null
+++ b/src/process/Info_mac.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>CFBundleIconFile</key>
+ <string>@ICON@</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleGetInfoString</key>
+ <string>Created by Qt/QMake</string>
+ <key>CFBundleSignature</key>
+ <string>@TYPEINFO@</string>
+ <key>CFBundleExecutable</key>
+ <string>@EXECUTABLE@</string>
+ <key>CFBundleIdentifier</key>
+ <string>@BUNDLEIDENTIFIER@</string>
+ <key>LSUIElement</key>
+ <string>1</string>
+</dict>
+</plist>
diff --git a/src/process/process.pro b/src/process/process.pro
index ad1575c8..443c5c3d 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.