[Qt-interest] qt pro file
Nikos Chantziaras
realnc at arcor.de
Mon Aug 1 17:19:07 CEST 2011
On 08/01/2011 04:08 PM, Thiago Macieira wrote:
> On Monday, 1 de August de 2011 15:19:03 Nikos Chantziaras wrote:
>> unix {
>> contains(QMAKE_HOST.arch, x86_64) {
>> # 64-bit Unix
>> } else {
>> # 32-bit Unix
>> }
>> }
>
> That's just the host. A 64-bit system can compile 32-bit applications.
This is not what the OP wants. He wants to detect the system. And
looking at the host arch does just that.
More information about the Qt-interest-old
mailing list