Allow MAC OS X to find library inside a bundle.

(grafted from 483fd5c402708b828382a691e0f21305b2b2b9df)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-10-16 12:48:06 +03:00
parent 67d20696a7
commit 4a326d3b6b
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -215,6 +215,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"