如何在64位Linux系统(QT)上构建32位蜂窝线

最后编辑了

To build a 32-bit Qt using gcc on a 64-bit Linux system, it is necessary to configure Qt with the argument:

-platform linux-g++-32

Normally, Squish will build as a 64-bit application on a 64-bit system, so to force Squish to build as a 32-bit application to be compatible with your 32-bit Qt you must use the following gcc flags:

CXXFLAGS+=-m32 LFLAGS+=-m32