Blob Blame History Raw
diff -rupN qtbase-everywhere-src-5.12.3/mkspecs/features/qt_app.prf qtbase-everywhere-src-5.12.3-new/mkspecs/features/qt_app.prf
--- qtbase-everywhere-src-5.12.3/mkspecs/features/qt_app.prf	2019-04-09 11:51:26.000000000 +0200
+++ qtbase-everywhere-src-5.12.3-new/mkspecs/features/qt_app.prf	2019-04-17 14:04:07.649569099 +0200
@@ -21,6 +21,7 @@ isEmpty(QMAKE_TARGET_DESCRIPTION): \
 isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle
 
 host_build: QT -= gui   # no host tool will ever use gui
+host_build: QMAKE_RPATHDIR += $$[QT_HOST_LIBS] # force rpath
 host_build:force_bootstrap {
     !build_pass:qtConfig(release_tools): CONFIG += release
     contains(QT, core(-private)?|xml) {
@@ -31,7 +32,6 @@ host_build:force_bootstrap {
 } else {
     !build_pass:qtConfig(debug_and_release): CONFIG += release
     target.path = $$[QT_INSTALL_BINS]
-    CONFIG += relative_qt_rpath  # Qt's tools and apps should be relocatable
 }
 INSTALLS += target