Macdeployqt problem with Qt 4.8.6
I hope this is something pretty simple. but I can't figure it out.
On my Mac (Mountain lion) I uninstalled Qt 4.8.5 and installed Qt 4.8.6 using the package installer.
Everything is running OK with QtCreator, but when I try to use the macdeployqt to create the app bundle for distribution, I'm getting the following errors:
ERROR: no file at "/usr/local/Trolltech/Qt-4.8.6/lib/QtWebKit.framework/Versions/4/QtWebKit"
ERROR: no file at "/usr/local/Trolltech/Qt-4.8.6/lib/QtScript.framework/Versions/4/QtScript"
ERROR: no file at "/usr/local/Trolltech/Qt-4.8.6/lib/QtCore.framework/Versions/4/QtCore"
ERROR: no file at "/usr/local/Trolltech/Qt-4.8.6/lib/QtXml.framework/Versions/4/QtXml"
ERROR: no file at "/usr/local/Trolltech/Qt-4.8.6/lib/QtGui.framework/Versions/4/QtGui"
ERROR: no file at "/usr/local/Trolltech/Qt-4.8.6/lib/QtNetwork.framework/Versions/4/QtNetwork"
which is natural, because there is no /usr/local//Trolltech folder since I used the package installer.
Please if anyone can help me with a way to tell the macdeployqt the right location to look for these files?
I fixed this by manually creating the /usr/local/Trolltech/Qt-4.8.6/ folder and then, while inside, creating a link to the actual framework folder with:
ln -s /Library/Frameworks/ lib