Reputation: 79011
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 -
/Library/Frameworks/
using install_name_tool
as described hereWhen 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
Upvotes: 1
Views: 707
Reputation: 25165
Some options to deploy a Qt application on Mac:
The latest released cmake version (2.8.7) doesn't support XCode 4.3 properly though: Since Xcode 4.3, files previously being installed to /Developer
are now in /Applications/Xcode.app/Contents/Developer
. cmake still expects them in /Developer
. That is fixed in cmake master but not released yet. A workaround is to create a symlink:
ln -s /Applications/Xcode.app/Contents/Developer /Developer
Upvotes: 1