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

Farid Derradji farid.derradji at ITWM.fraunhofer.de
Mon May 4 08:46:07 CEST 2009


Hello Tony,

on Linux you explicitely have to set the following (predefined)
Qt-Variables:

QMAKE_CFLAGS   += -m32
QMAKE_CXXFLAGS += -m32
QMAKE_LFLAGS   += -m32.

Hereby the following is assumed:

* You are using the GNU compiler

* The architecture of your underlying processor is:
  ** an INTEL processor (or INTEL-compatible)
  ** RS/6000 or PowerPC
  ** a SPARC
  ** Darwin or SVR4

* Your installed operating system also contains all 32 bit-versions of
  its system libraries (otherwise you have to install them)


Regards
Farid



More information about the Qt-interest-old mailing list