Allow MAC OS X to find library inside a bundle.
This commit is contained in:
parent
ed53077203
commit
ac85c37de7
|
@ -212,6 +212,8 @@ unix{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QMAKE_RPATHDIR += @executable_path/../Frameworks
|
||||||
|
|
||||||
# Path to resources in app bundle
|
# Path to resources in app bundle
|
||||||
#RESOURCES_DIR = "Contents/Resources" defined in translation.pri
|
#RESOURCES_DIR = "Contents/Resources" defined in translation.pri
|
||||||
FRAMEWORKS_DIR = "Contents/Frameworks"
|
FRAMEWORKS_DIR = "Contents/Frameworks"
|
||||||
|
|
|
@ -264,6 +264,8 @@ unix{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QMAKE_RPATHDIR += @executable_path/../Frameworks
|
||||||
|
|
||||||
# Path to resources in app bundle
|
# Path to resources in app bundle
|
||||||
#RESOURCES_DIR = "Contents/Resources" defined in translation.pri
|
#RESOURCES_DIR = "Contents/Resources" defined in translation.pri
|
||||||
FRAMEWORKS_DIR = "Contents/Frameworks"
|
FRAMEWORKS_DIR = "Contents/Frameworks"
|
||||||
|
|
|
@ -41,6 +41,9 @@ include(qmuparser.pri)
|
||||||
|
|
||||||
VERSION = 2.4.1
|
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.
|
# Set "make install" command for Unix-like systems.
|
||||||
unix:!macx{
|
unix:!macx{
|
||||||
isEmpty(PREFIX_LIB){
|
isEmpty(PREFIX_LIB){
|
||||||
|
|
|
@ -37,6 +37,9 @@ MOC_DIR = moc
|
||||||
# objecs files
|
# objecs files
|
||||||
OBJECTS_DIR = obj
|
OBJECTS_DIR = obj
|
||||||
|
|
||||||
|
# Allow MAC OS X to find library inside a bundle
|
||||||
|
macx:QMAKE_SONAME_PREFIX = @rpath
|
||||||
|
|
||||||
include(vpropertyexplorer.pri)
|
include(vpropertyexplorer.pri)
|
||||||
|
|
||||||
# Set "make install" command for Unix-like systems.
|
# Set "make install" command for Unix-like systems.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user