summaryrefslogtreecommitdiffstats
path: root/src/process
diff options
context:
space:
mode:
Diffstat (limited to 'src/process')
-rw-r--r--src/process/Info_mac.plist2
-rw-r--r--src/process/process.pro33
2 files changed, 15 insertions, 20 deletions
diff --git a/src/process/Info_mac.plist b/src/process/Info_mac.plist
index de1d010b..dcadc2e8 100644
--- a/src/process/Info_mac.plist
+++ b/src/process/Info_mac.plist
@@ -15,7 +15,7 @@
<key>CFBundleExecutable</key>
<string>@EXECUTABLE@</string>
<key>CFBundleIdentifier</key>
- <string>@BUNDLEIDENTIFIER@</string>
+ <string>org.qt-project.Qt.QtWebEngineProcess</string>
<key>LSUIElement</key>
<string>1</string>
</dict>
diff --git a/src/process/process.pro b/src/process/process.pro
index eab11189..cdda429e 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -1,25 +1,9 @@
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
-load(qt_build_paths)
-contains(QT_CONFIG, qt_framework) {
- # Deploy the QtWebEngineProcess app bundle into the QtWebEngineCore framework.
- DESTDIR = $$MODULE_BASE_OUTDIR/lib/QtWebEngineCore.framework/Versions/5/Helpers
-
- QT += webenginecore
- QMAKE_RPATHDIR += @loader_path/../../../../../../../../Frameworks
-} else {
- CONFIG -= app_bundle
- win32: DESTDIR = $$MODULE_BASE_OUTDIR/bin
- else: DESTDIR = $$MODULE_BASE_OUTDIR/libexec
-
- QT_PRIVATE += webenginecore
-}
-
-msvc: QMAKE_LFLAGS *= /LARGEADDRESSAWARE
+QT += webenginecore
INCLUDEPATH += ../core
@@ -30,9 +14,20 @@ win32 {
support_win.cpp
}
+load(qt_app)
+
+contains(QT_CONFIG, qt_framework) {
+ # Deploy the QtWebEngineProcess app bundle into the QtWebEngineCore framework.
+ DESTDIR = $$MODULE_BASE_OUTDIR/lib/QtWebEngineCore.framework/Versions/5/Helpers
+} else {
+ CONFIG -= app_bundle
+ win32: DESTDIR = $$MODULE_BASE_OUTDIR/bin
+ else: DESTDIR = $$MODULE_BASE_OUTDIR/libexec
+}
+msvc: QMAKE_LFLAGS *= /LARGEADDRESSAWARE
+
contains(QT_CONFIG, qt_framework) {
target.path = $$[QT_INSTALL_LIBS]/QtWebEngineCore.framework/Versions/5/Helpers
} else {
target.path = $$[QT_INSTALL_LIBEXECS]
}
-INSTALLS += target