Results 1 to 9 of 9

Thread: another Q_OBJECT and pointers (?)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: another Q_OBJECT and pointers (?)

    Quote Originally Posted by caminoix
    except for myHBox for which a .cpp would be enough. is this correct?
    Yes, provided that it's the same file in which myGroupBox implementation was placed.

    One more thing: If you place a class definition with Q_OBJECT macro in somefile.cpp, then you must also add #include "somefile.moc" at the end of that file.

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

    caminoix (26th March 2006)

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.