[Interest] Qt Macros for desktop and embedded Linux

Thiago Macieira thiago.macieira at intel.com
Thu Mar 21 05:12:34 CET 2013


On quinta-feira, 21 de março de 2013 03.06.54, Ramakanthreddy_Kesireddy wrote:
> Ok Thanks for the information.
> I thought if I could make differentiation using macros on Desktop Linux and
> embedded tegra3 board.
> 
> Could you please let me know the header file that I need to include in Qt5.0
> to use Q_OS_Linux?

*Any* Qt header.

It comes from qglobal.h, which is included by every single header.

Hint: It's Q_OS_LINUX.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130320/f084a5b9/attachment.sig>


More information about the Interest mailing list