Using private frameworks for QT in xcode 4.3 <p>The Mac QT Installer puts its shared libraries under <code>/Library/Frameworks/QtXXX.Framework</code>.<br> 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.</p> <p>I've tried various options for doing this but I don't seem to be able to make it work. What I did - </p> <ul> <li>change the Qt framework files in <code>/Library/Frameworks/</code> using <code>install_name_tool</code> as described <a href="http://stackoverflow.com/questions/1621451/bundle-framework-with-application-in-xcode">here</a></li> <li>copy the these framework bundles manually to inside the app bundle</li> <li>recompiling the bundle.</li> </ul> <p>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?</p> <p>Using xcode 4.3 on OSX 10.7.3</p>