[Qt-interest] 64-bit conditional compile

Yawar Amin yawar.amin at gmail.com
Wed May 12 04:15:04 CEST 2010


On 2010-05-11, at 19:45, John Weeks wrote:

> What is the Qt way to conditionally compile for 64-bit or 32-bit architectures?
> 
> qglobal.h has definitions for Q_WS_MAC64 and Q_OS_WIN64, but I don't see anything for generic 64-bit compile.

Maybe:

#if defined Q_WS_MAC64 or defined Q_OS_WIN64
 // Generic 64-bit stuff goes here
#endif

?

 Yawar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100511/ab2d8af1/attachment.bin 


More information about the Qt-interest-old mailing list