[Interest] [OS X] 32bit build on 64bit system?

René J.V. Bertin rjvbertin at gmail.com
Mon Mar 9 14:14:36 CET 2015


Hi,

Following up on the earlier discussion of 32bit Qt builds.
Is it possible to do a 32bit Qt build on a 64bit system? I just tried to build Qt 5.4.1 using `configure -platform macx-clang-32`. I did get a 32bit qmake executable, but the build already failed on creating libQt5Bootstrap.a :

.obj/qstring_mac.o:              Mach-O object i386
.obj/qstandardpaths_mac.o:       Mach-O object i386
.obj/qlatincodec.o:              Mach-O 64-bit object x86_64
.obj/qtextcodec.o:               Mach-O 64-bit object x86_64
(all other object files are x86_64 too).

That almost looks like the `-arch i386` option (set for all compiler FLAGS in macx-clang-32/qmake.conf) is actually used only when compiling ObjC code.

Thoughts?



More information about the Interest mailing list