Is your Qt project and application or a shared library?  The .pro lines
you've put below are trying to turn your whole project into a library
(or framework), when I suspect you are trying to create an application
bundle with your library (and maybe the Qt libraries?) embedded inside?

 

Sean

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Jim Watters
Sent: Friday, March 26, 2010 8:11 PM
To: [email protected]
Subject: [Qt-creator] Create a Mac library bundle

 

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#TAN1
0

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?

 

Regards,
Jim Watters

[email protected]

 

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to