-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
1.0.1, 1.1.x
-
None
-
Mac. 10.6. Qt 4.6.3. Qt Mobility from git.
When build the frameworks on Mac OS (for instance QtMultimediaKit.framework), the install_name is set to an absolute path. This makes it difficult to install the framework in another location. Also, the plug-ins will end up linking to this framework and they too will embed the absolute location of the framework. Again, this makes it difficult to relocate the plug-ins.
A simple fix:
diff --git a/features/deploy.pri b/features/deploy.pri
index 39ea766..3b52012 100644
— a/features/deploy.pri
+++ b/features/deploy.pri
@@ -30,7 +30,7 @@ contains(TEMPLATE,.*lib) {
INSTALLS+=target headers
mac:contains(QT_CONFIG,qt_framework) {
- CONFIG += lib_bundle absolute_library_soname
+ CONFIG += lib_bundle
FRAMEWORK_HEADERS.version = Versions
FRAMEWORK_HEADERS.files = $${PUBLIC_HEADERS}
FRAMEWORK_HEADERS.path = Headers