[Qt-creator] Create a Mac library bundle
Murphy, Sean M.
sean.murphy at gd-ais.com
Mon Mar 29 15:00:39 CEST 2010
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: qt-creator-bounces at trolltech.com
[mailto:qt-creator-bounces at trolltech.com] On Behalf Of Jim Watters
Sent: Friday, March 26, 2010 8:11 PM
To: qt-creator at trolltech.com
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
jimw at jflinc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100329/49e702b0/attachment.html
More information about the Qt-creator-old
mailing list