[Qt-interest] Building 32 bit on 64 bit Linux

Jeroen Wijnhout jeroen.wijnhout at gmail.com
Mon May 4 13:37:19 CEST 2009


On Mon, May 4, 2009 at 1:21 PM, Thiago Macieira
<thiago.macieira at trolltech.com> wrote:
> Em Segunda-feira 04 Maio 2009, às 08:46:07, Farid Derradji escreveu:
>> on Linux you explicitely have to set the following (predefined)
>> Qt-Variables:
>>
>> QMAKE_CFLAGS   += -m32
>> QMAKE_CXXFLAGS += -m32
>> QMAKE_LFLAGS   += -m32.
>
> Or use the linux-g++-32 spec:
>
>        ./configure -platform linux-g++-32
>

Is that really going to work? Assuming you are talking about the Qt's
configure script, the last time I checked it tried to build the
32-bits qmake and related tools on a 64-bit system. However it should
build those tools twice, once for the host and once for the target
system. It would be great if that is solved, so that I can
cross-compile Qt.

best,
Jeroen




More information about the Qt-interest-old mailing list