[Qt-interest] Qt SDK 4.6 on OS X 10.6: Compile 64bit possible?
Richard
richardmg at trolltech.com
Tue Dec 8 16:03:06 CET 2009
>
> seemed to support my assumption: "Qt follows suit and is also 64-bit
> by default when building for Cocoa (Select this with the -cocoa flag
> at the configure line or use the -arch x86_64 flag)."
If you build your app against Qt/Cocoa on Snow Leopard, it should be
64 bit (only) by default (on Leopard it will be 32 bit).
>
> One last question, out of curiosity: I am not yet familiar with
> "Frameworks", but I understand that the "Cocoa" port supports both
> 32bit and 64bit applications. Does that mean that there are two
> distinct libraries lying around "somewhere" for e.g. QtCore? Are
> they both under /Library/Frameworks/Qt/... (can't remember the exact
> path right now), something like QtCore32.dynlib and QtCore64.dynlib
> (names made up by me)? And when deploying my app I also have to make
> sure which Qt library files to ship along?
The binary found inside the framework contains versions for all the
different architectures at the same time. E.g. the /Library/frameworks/
QtGui.framework/QtGui binary for the Qt/Cocoa package will contain
both i386 and x86_64, and as such, be twize the size of a build that
only supported a single architecture.
-Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091208/b439fb6e/attachment.html
More information about the Qt-interest-old
mailing list