The Mac QT Installer puts its shared libraries under /Library/Frameworks/QtXXX.Framework
.
I'm building a QT application using a qmake-generated xcode project. I'd like to add these frameworks as private framewords inside my app bundle for easy deployment.
I've tried various options for doing this but I don't seem to be able to make it work. What I did -
- change the Qt framework files in
/Library/Frameworks/
usinginstall_name_tool
as described here - copy the these framework bundles manually to inside the app bundle
- recompiling the bundle.
When I change the name of the original framework so it would appear that it's not there, the app crashes and says that it doesn't find the needed framework. What am I doing wrong?
Using xcode 4.3 on OSX 10.7.3