[Qt-interest] Qt SDK 4.6 on OS X 10.6: Compile 64bit possible?
Eric Landuyt
eric at datarescue.be
Wed Dec 9 08:27:51 CET 2009
Hello Oliver,
OKcc> Ok, thanks. So I understand e.g. the QtGui binary really is just one big
OKcc> huge binary, containing both 32bit and 64bit code. In other words, if I really "just
OKcc> want to ship 64bit", I need to compile Qt myself and make sure only the
OKcc> 64bit version is compiled - given the "32bit and 64bit Qt" I can't decide "only
OKcc> extract the 64bit Qt libraries and put alongside my app".
Have a look at the 'lipo' utility. According to its man page:
The operations that lipo performs are: listing the
architecture types in a universal file; creating a single universal
file from one or more input files; thinning out a single universal file
to one specified architecture type; and extracting, replacing, and/or
removing architectures types from the input file to create a single new
universal output file.
I never tried it for i386 and x86_64, but it helped me quite well with
ppc/i386 universal binaries some years ago. ;)
Cheers,
--
Eric Landuyt, Developer - mailto:eric at datarescue.be
DataRescue sa/nv - http://www.datarescue.com
More information about the Qt-interest-old
mailing list