Results 1 to 3 of 3

Thread: linker problem in plugin, undefined reference to `Core::....

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: linker problem in plugin, undefined reference to `Core::....

    You are missing a Q_OBJECT macro in the private section one or more classes would be my guess. Alternatively, you have not run qmake since adding it so moc is not being run over the code and the metaobject stuff is not built.

  2. #2
    Join Date
    Oct 2011
    Posts
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: linker problem in plugin, undefined reference to `Core::....

    Thx for your answer, but the Q_object macro's are there. Just ran qmake again. No difference. Any other ideas?

Similar Threads

  1. Undefined reference problem
    By deepa in forum Qt Programming
    Replies: 1
    Last Post: 26th April 2011, 11:48
  2. Replies: 11
    Last Post: 20th March 2011, 08:38
  3. Plugin compiler error: undefined reference
    By FinderCheng in forum Qt Programming
    Replies: 8
    Last Post: 1st May 2010, 16:49
  4. Problem: Undefined reference
    By stiank81 in forum Qt Programming
    Replies: 4
    Last Post: 16th February 2006, 14:17
  5. Replies: 5
    Last Post: 14th February 2006, 23:43

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.