[Interest] Qt Macros for desktop and embedded Linux

Amogh Kudari amogh.kudari5 at gmail.com
Wed Mar 20 11:51:42 CET 2013


Hi Ramakanthreddy,

 Here is a list of macro's for different OS.

/*
   The operating system, must be one of: (Q_OS_x) ==> x indicates Operating
System used.

     DARWIN   - Darwin OS (synonym for Q_OS_MAC)
     SYMBIAN  - Symbian
     MSDOS    - MS-DOS and Windows
     OS2      - OS/2
     OS2EMX   - XFree86 on OS/2 (not PM)
     WIN32    - Win32 (Windows 2000/XP/Vista/7 and Windows Server 2003/2008)
     WINCE    - WinCE (Windows CE 5.0)
     CYGWIN   - Cygwin
     SOLARIS  - Sun Solaris
     HPUX     - HP-UX
     ULTRIX   - DEC Ultrix
     LINUX    - Linux
     FREEBSD  - FreeBSD
     NETBSD   - NetBSD
     OPENBSD  - OpenBSD
     BSDI     - BSD/OS
     IRIX     - SGI Irix
     OSF      - HP Tru64 UNIX
     SCO      - SCO OpenServer 5
     UNIXWARE - UnixWare 7, Open UNIX 8
     AIX      - AIX
     HURD     - GNU Hurd
     DGUX     - DG/UX
     RELIANT  - Reliant UNIX
     DYNIX    - DYNIX/ptx
     QNX      - QNX
     LYNX     - LynxOS
     BSD4     - Any BSD 4.4 system
     UNIX     - Any UNIX BSD/SYSV system
*/

Q_OS_LINUX is for Linux.
QT_EDITION_DESKTOP is for Desktop Edition.
Hope this helps.

Regards,
Amogh.




On Wed, Mar 20, 2013 at 3:52 PM, Ramakanthreddy_Kesireddy <
Ramakanthreddy_Kesireddy at mahindrasatyam.com> 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?
>
>  Thanks and Regards,
> Ramakanth
>
> ------------------------------
>
> 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.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130320/87127d01/attachment.html>


More information about the Interest mailing list