Use the 'install_name' linker flag on Mac for the frameworks.
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>
Tue, 25 Jan 2011 09:08:15 +0000 (10:08 +0100)
committeraxis <qt-info@nokia.com>
Wed, 27 Apr 2011 10:05:55 +0000 (12:05 +0200)
This is required for the frameworks outside the qtbase module.

mkspecs/features/qt_module.prf

index a263e28..a5a3fd1 100644 (file)
@@ -14,3 +14,8 @@ isEmpty(QMAKE_QT_MODULE)|!exists($$QMAKE_QT_MODULE) {
 } else {
    debug(1, "Loaded qmodule.pri from ($$QMAKE_QT_MODULE)")
 }
+mac {
+   !isEmpty(QMAKE_RPATHDIR){
+       CONFIG += absolute_library_soname
+   }
+}