Allow MAC OS X to find library inside a bundle.

This commit is contained in:
Roman Telezhynskyi 2016-10-16 12:08:30 +03:00
parent ed53077203
commit ac85c37de7
4 changed files with 10 additions and 0 deletions

View file

@ -212,6 +212,8 @@ unix{
}
}
QMAKE_RPATHDIR += @executable_path/../Frameworks
# Path to resources in app bundle
#RESOURCES_DIR = "Contents/Resources" defined in translation.pri
FRAMEWORKS_DIR = "Contents/Frameworks"

View file

@ -264,6 +264,8 @@ unix{
}
}
QMAKE_RPATHDIR += @executable_path/../Frameworks
# Path to resources in app bundle
#RESOURCES_DIR = "Contents/Resources" defined in translation.pri
FRAMEWORKS_DIR = "Contents/Frameworks"

View file

@ -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){

View file

@ -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.