Results 1 to 4 of 4

Thread: QObject::MetaObject()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    45
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    1
    Thanked 6 Times in 6 Posts

    Default Re: QObject::MetaObject()

    Sounds like you have forgotten to add Q_OBJECT-macro to your class B.

  2. #2
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    20
    Thanked 28 Times in 27 Posts

    Default Re: QObject::MetaObject()

    I missed Q_OBJECT macro.. eeks... joyer83 u were right... And after I did add I ran into all sorts of trouble.. untill i came to know i have to qmake again...

Similar Threads

  1. Working with QObject
    By been_1990 in forum Qt Programming
    Replies: 15
    Last Post: 20th June 2009, 22:12
  2. Replies: 1
    Last Post: 31st October 2007, 15:14
  3. help on QObject::tr()
    By sincnarf in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2007, 08:52
  4. How to add an QObject to QListWidget
    By steg90 in forum Newbie
    Replies: 7
    Last Post: 14th May 2007, 16:53
  5. Example code and metaObject question
    By bruccutler in forum Newbie
    Replies: 1
    Last Post: 12th January 2007, 19:34

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.