Identifier for win64 configuration in Qmake

Posted by Tuminoid on Stack Overflow See other posts from Stack Overflow or by Tuminoid
Published on 2008-12-10T16:28:54Z Indexed on 2010/04/17 11:33 UTC
Read the original article Hit count: 404

Filed under:
|
|
|
|

Is there a "win64" identifier in Qmake project files? Qt Qmake advanced documentation does not mention other than unix / macx / win32.

So far I've tried using:

win32:message("using win32")
win64:message("using win64")
amd64:message("using amd64")

The result is always "using win32".

Must I use a separate project-file for x32 and x64 projects, so they would compile against correct libraries? Is there any other way to identify between 32-bit and 64-bit environments?

© Stack Overflow or respective owner

Related posts about qt

Related posts about qt4