Results 1 to 4 of 4

Thread: including QObject

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2015
    Location
    California, USA
    Posts
    61
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11
    Thanks
    43
    Thanked 1 Time in 1 Post

    Default including QObject

    I've noticed that #include <QObject> doesn't seem to be necessary in the .h when you subclass QObject.
    Is it included in all files associated with a .pro file, or is the Q_OBJECT macro responsible?
    Last edited by ravas; 30th October 2015 at 17:49.

Similar Threads

  1. including the gui from another process in my app
    By apatras in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2011, 15:44
  2. Including the QT libraries
    By hapheston in forum Installation and Deployment
    Replies: 3
    Last Post: 22nd August 2010, 13:23
  3. help on including the headers
    By newb in forum Qt Programming
    Replies: 0
    Last Post: 21st June 2010, 05:41
  4. including Qt headers in DLL
    By dave_mm0 in forum Newbie
    Replies: 7
    Last Post: 15th July 2009, 21:39
  5. including
    By mickey in forum General Programming
    Replies: 2
    Last Post: 26th July 2006, 21:08

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.