On 03/27/2010 02:10 AM, Jim Watters wrote: > I am new to developing on the Mac. > I have a Qt Project that works on Windows and Linux. > I am attempting to create an Xcode project file from the .pro file that > will create a bundle with a library in it. > The bundle needs to be laid out like this. > http://developer.apple.com/mac/library/technotes/tn2002/tn2088.html#TAN10 > > I have reviewed the instructions here > http://doc.trolltech.com/4.3/qmake-platform-notes.html#creating-library-bundles > I have tried modifying the .pro file adding > TEMPLATE = lib > CONFIG += lib_bundle plugin x86 ppc > QMAKE_BUNDLE_EXTENSION = .ds > > and calling > qmake -spec macx-xcode > > But the project creates a Framework instead of a bundle. > Attempts to modify the settings of the Xcode target does not convert it > to a proper bundle. > > Any ideas of what I am doing wrong or a list of the right steps to take?
Not sure if something changed since Qt 4.3, but with 4.6.2, I create app bundles without xcode: qmake -spec macx-g++ and then simply make There's also a Qt tool that will automatically copy all required libraries in the bundle in case you don't want or can't build statically. More info here: http://qt.nokia.com/doc/4.6/deployment-mac.html _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
