[Qt-interest] qt pro file
Nikos Chantziaras
realnc at arcor.de
Mon Aug 1 14:19:03 CEST 2011
On 08/01/2011 12:15 PM, tang ke wrote:
> hi all guys:
> I know the tags of unix and win32.when I compile the project with linux,
> will use the
> unix: {
> LIBS += libxxxxx.so
> }
>
> but when I use the ubuntu amd64 system or i386 arch, how to detect it?
> the pro file can know unix32 or unix64?
>
unix {
contains(QMAKE_HOST.arch, x86_64) {
# 64-bit Unix
} else {
# 32-bit Unix
}
}
More information about the Qt-interest-old
mailing list