summaryrefslogtreecommitdiffstats
path: root/src/process
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-03-21 18:09:08 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2016-03-21 18:09:08 +0100
commitb1153753221513aa5687001c84a1c9ed69925dc6 (patch)
tree3569ad54e433fee8244effe558ca52e567b6890d /src/process
parent4d6b2dc88bda15ade9d04e54d80b7e4693d59832 (diff)
parentc2687689ba42d6021ae3f220d9fd240609489d3a (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts: src/3rdparty src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc Change-Id: I90728e965399e51b626d538924de955f9abab5fe
Diffstat (limited to 'src/process')
-rw-r--r--src/process/process.pro18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/process/process.pro b/src/process/process.pro
index 6174e53bf..eab11189e 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -8,23 +8,9 @@ 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
- # FIXME: remove the following workaround with proper rpath handling or
- # patching of the installed QtWebEngineProcess binary.
- # Since QtWebEngineCore is now built as a framework, we need to pull
- # in and fixup its dependencies as well.
+
QT += webenginecore
- QMAKE_POST_LINK = \
- "xcrun install_name_tool -change " \
- "`xcrun otool -X -L $(TARGET) | grep QtWebEngineCore | cut -d ' ' -f 1` " \
- "@executable_path/../../../../QtWebEngineCore " \
- "$(TARGET); "
- linked_frameworks = QtQuick QtQml QtNetwork QtCore QtGui QtWebChannel
- for (current_framework, linked_frameworks) {
- QMAKE_POST_LINK += "xcrun install_name_tool -change " \
- "`xcrun otool -X -L $(TARGET) | grep $${current_framework} | cut -d ' ' -f 1` " \
- "@executable_path/../../../../../../../$${current_framework}.framework/$${current_framework} " \
- "$(TARGET);"
- }
+ QMAKE_RPATHDIR += @loader_path/../../../../../../../../Frameworks
} else {
CONFIG -= app_bundle
win32: DESTDIR = $$MODULE_BASE_OUTDIR/bin