Results 1 to 2 of 2

Thread: Which defines to use for which platform Q_OS_ ...

  1. #1
    Join Date
    Dec 2009
    Posts
    62
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Which defines to use for which platform Q_OS_ ...

    Hi

    Could someone assist in clarifying which macros I should use to handle platforma specific things. I want to be able to handle:

    1. Windows CE - Currently using Q_OS_WINCE_WM
    2. Symbian - Which define should I use for Symbian. There are some softbutton things that seems to be Symbian specific.
    3. A desktop environment - Currently only using Win32, are there Qt defines that covers Mac, Linux etc that I can combine or do I have to use native defines like Win32 and combine them.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Which defines to use for which platform Q_OS_ ...

    Q_OS_SYMBIAN, Q_OS_UNIX, Q_OS_SOLARIS, Q_OS_LINUX, Q_OS_FREEBSD, Q_OS_MAC etc etc.

    Q_OS_foo for platform stuff Q_CC_bar for compiler stuff.

  3. The following user says thank you to Lykurg for this useful post:

    hubbobubbo (1st June 2010)

Similar Threads

  1. QMake DEFINES
    By AlHadr in forum Qt Tools
    Replies: 7
    Last Post: 25th January 2013, 10:55
  2. Date defines in Sqlite?
    By Raccoon29 in forum General Programming
    Replies: 1
    Last Post: 23rd November 2009, 23:14
  3. Replies: 3
    Last Post: 13th October 2009, 15:31
  4. Passing global defines to moc
    By NTwoO in forum Qt Programming
    Replies: 6
    Last Post: 2nd April 2007, 11:23
  5. Qt4 Preprocessor defines
    By Chicken Blood Machine in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 16:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.