Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.8.6
-
None
-
Mac OSX 10.8.2
Description
Hello,
I’ve been successfully deploying with Qt 4.8.5 several times and now that I switched to Qt 4.8.6 I can’t anymore.
It seems the system paths of where the Qt libraries are installed, are ignored, and instead the “otool -L” command on my binaries shows
“/usr/local/Trolltech/Qt-4.8.6/lib/Qt…” which doesn’t even exist.
It seems the only place where it is defined is:
qconfig.pri:QMAKE_RPATHDIR += “/usr/local/Trolltech/Qt-4.8.6/lib”
in /usr/local/Qt4.8/mkspecs
So my nametool instructions fails to detect the right paths (which should be /Library/Frameworks/Qt*.framework) and the resulting bundle is corrupted, or works only if Qt is installed in the system.
I uninstalled Qt 4.8.5 using the uninstall-qt.py tool and then I’ve installed Qt 4.8.6.
Did I miss something ?
Does anyone have a suggestion about this ?
When I uninstalled 4.8.6 and reinstalled 4.8.5 the qconfig.pri doesn’t even have a QMAKE_RPATHDIR variable.
I also double checked the 4.8.6 release notes and this change is not mentioned.
Maybe it was worth a word since it dramatically changes things when deploying ?
I also tried to comment the guilty line from qconfig.pri in Qt 4.8.6 but the result is the same.
It seems that path is hardcoded in the libraries.