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

Stephan Rose kermos at somrek.net
Mon May 4 14:04:28 CEST 2009


On Mon, 2009-05-04 at 13:37 +0200, Jeroen Wijnhout wrote:
> 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.

Second that!!!

Also it would be a dream come true if I could finally cross-compile to
windows from linux. My last attempts at this were a bit unsuccessful,
even after working out some kinks I ran into.

Stephan






More information about the Qt-interest-old mailing list