Results 1 to 4 of 4

Thread: Qt usage macro

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Qt usage macro

    Quote Originally Posted by Momergil View Post
    It would be, in this case, something like "#if QT_VERSION > 0x000000"?
    Qt Code:
    1. #ifdef QT_VERSION
    To copy to clipboard, switch view to plain text mode 
    is enough unless somebody else (rather than Qt) introduces such define.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    Momergil (17th July 2013)

Similar Threads

  1. Including Q_OBJECT in another macro
    By Thuan Seah Tan in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2012, 05:21
  2. Q_OBJECT macro problem
    By bijan311 in forum Newbie
    Replies: 46
    Last Post: 26th March 2010, 22:21
  3. Q_OBJECT macro - what exactly does it do?
    By magland in forum Qt Programming
    Replies: 3
    Last Post: 26th September 2007, 10:30
  4. Macro
    By comlink21 in forum Qt Programming
    Replies: 1
    Last Post: 25th July 2007, 11:28
  5. Macro used for debugging
    By sunil.thaha in forum General Programming
    Replies: 11
    Last Post: 30th March 2007, 17:32

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.