[Interest] Qt Macros for desktop and embedded Linux

Ramakanthreddy_Kesireddy Ramakanthreddy_Kesireddy at mahindrasatyam.com
Thu Mar 21 04:06:54 CET 2013


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?

Best Regards,
Ramakanth

________________________________________
From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org [interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org] on behalf of Thiago Macieira [thiago.macieira at intel.com]
Sent: Wednesday, March 20, 2013 8:35 PM
To: interest at qt-project.org
Subject: Re: [Interest] Qt Macros for desktop and embedded Linux

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

________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.



More information about the Interest mailing list