From 5da965ba69a02abbf1e00d15ede8d452f95059e0 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 23 Jul 2016 14:48:16 +0300 Subject: [PATCH] After update to Qt 5.7 custom libraries: qmuparser and vpropertybrpwser lost "@rpath" prefix. Setting QMAKE_SONAME_PREFIX fix it. --HG-- branch : develop --- src/libs/qmuparser/qmuparser.pro | 3 +++ src/libs/vpropertyexplorer/vpropertyexplorer.pro | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/libs/qmuparser/qmuparser.pro b/src/libs/qmuparser/qmuparser.pro index 3982eeb7b..154b90fea 100644 --- a/src/libs/qmuparser/qmuparser.pro +++ b/src/libs/qmuparser/qmuparser.pro @@ -41,6 +41,9 @@ include(qmuparser.pri) VERSION = 2.4.1 +# Allow MAC OS X to find library inside a bundle +macx:QMAKE_SONAME_PREFIX = @rpath + # Set "make install" command for Unix-like systems. unix:!macx{ isEmpty(PREFIX_LIB){ diff --git a/src/libs/vpropertyexplorer/vpropertyexplorer.pro b/src/libs/vpropertyexplorer/vpropertyexplorer.pro index a5eff9e62..2af77b837 100644 --- a/src/libs/vpropertyexplorer/vpropertyexplorer.pro +++ b/src/libs/vpropertyexplorer/vpropertyexplorer.pro @@ -37,6 +37,9 @@ MOC_DIR = moc # objecs files OBJECTS_DIR = obj +# Allow MAC OS X to find library inside a bundle +macx:QMAKE_SONAME_PREFIX = @rpath + include(vpropertyexplorer.pri) # Set "make install" command for Unix-like systems.