summaryrefslogtreecommitdiffstats
path: root/src/process
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2020-01-09 18:00:49 +0100
committerMichael BrĂ¼ning <michael.bruning@qt.io>2020-01-27 10:52:56 +0100
commit6b06fb702872cc2af219ba8c2050d239fab9ee21 (patch)
tree2b83eba8e41f1c8084d3a6d7a8be8043bdebd830 /src/process
parentfe9de69e014457de39ddb09c5773f546613e9727 (diff)
[macOS] Install entitlements file for QtWebEngineProcess.app
This is needed so macdeployqt can find the entitlements file and enable us to sign the QtWebEngineProcess binary for the entitlements it needs with the hardened runtime. Change-Id: I0c1811af84aa4b8ae3f30129909f092dff0f816f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/process')
-rw-r--r--src/process/QtWebEngineProcess.entitlements (renamed from src/process/Entitlements_mac.plist)0
-rw-r--r--src/process/process.pro5
2 files changed, 5 insertions, 0 deletions
diff --git a/src/process/Entitlements_mac.plist b/src/process/QtWebEngineProcess.entitlements
index f2fbabddb..f2fbabddb 100644
--- a/src/process/Entitlements_mac.plist
+++ b/src/process/QtWebEngineProcess.entitlements
diff --git a/src/process/process.pro b/src/process/process.pro
index e861af182..72aad52a5 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -46,6 +46,11 @@ qtConfig(build_all): CONFIG += build_all
qtConfig(framework) {
# Deploy the QtWebEngineProcess app bundle into the QtWebEngineCore framework.
DESTDIR = $$MODULE_BASE_OUTDIR/lib/QtWebEngineCore.framework/Versions/5/Helpers
+
+ # Deploy the entitlements file so macdeployqt can use it.
+ entitlements.files = QtWebEngineProcess.entitlements
+ entitlements.path = Contents/Resources/
+ QMAKE_BUNDLE_DATA += entitlements
} else {
CONFIG -= app_bundle
win32: DESTDIR = $$MODULE_BASE_OUTDIR/bin