[Interest] Qt Macros for desktop and embedded Linux

Thiago Macieira thiago.macieira at intel.com
Wed Mar 20 16:05:02 CET 2013


On quarta-feira, 20 de março de 2013 10.22.04, Ramakanthreddy_Kesireddy wrote:
> Hi,
> 
> I couldnot find macros of platform specific macros used in below link
> http://qt-project.org/doc/qt-5.0/qtglobal.html#macros
> 
> Please let me know how can I differentiate desktop linux and embedded linux
> using Qt macros.
> 
> Is Q_OS_X11 for desktop Linux?

There are no macros.

There's one single Linux build that works on both desktops and on embedded 
devices. You can try to tell which one it is by looking at the platform plugin 
that you've loaded, but even that might not be enough information (there are 
many embedded devices using X11).

-- 
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/796375df/attachment.sig>


More information about the Interest mailing list