[Qt-interest] Mac deployment to 10.4
Dave Thorup
lists at kuwan.net
Fri Oct 9 21:29:55 CEST 2009
On Oct 7, 2009, at 2:52 AM, Oliver Demetz wrote:
> Hi,
>
> Y E S
>
> that was it! I had the cocoa version installed.
>
> Thank you all for your great support !
As others have already mentioned you'll need to download the Qt
sources and build the Qt libraries yourself using the 10.4 SDK as well
as targeting 10.4 ( MACOSX_DEPLOYMENT_TARGET=10. ). You'll also need
to be sure that you build Qt as Universal Binaries in order to target
your G4 iBook. We target Mac OS X 10.4 while developing on 10.5 (and
now 10.6), you just need to make sure that you build your Qt libraries
properly and get your project settings correct as well. Here are my
notes on building Qt to target 10.4:
> Qt needs some special configuration flags to work well with Leopard.
> The MACOSX_DEPLOYMENT_TARGET environment variable must be set to
> 10.4 (or 10.3 for earlier compatibility). Enter the following in
> Terminal before configuring Qt:
> MACOSX_DEPLOYMENT_TARGET=10.4
> export MACOSX_DEPLOYMENT_TARGET
> Configure Qt with the following (note that this doesn't make the
> demos or examples which is much faster):
> ./configure -nomake demos -nomake examples -dwarf2 -sdk /Developer/
> SDKs/MacOSX10.4u.sdk -universal
> This will ensure that source code is visible in Xcode when
> debugging. Add "-universal" to build a Universal Binary version of Qt.
> You'll also need to set the following in your Qt pro file for your
> projects:
> QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
> QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
> In order to view the Qt sources in the Xcode Debugger you'll need to
> double-click on the "bibblepro" executable in the Executables
> section of the Xcode project and select "Use <debug> suffix when
> loading frameworks." Where <debug> is selected from a popup menu.
We use Qt 4.4.3, but it should be the same with Qt 4.5.
--
Dave Thorup
Software Engineer
http://bibblelabs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091009/eab26a99/attachment.html
More information about the Qt-interest-old
mailing list