Results 1 to 5 of 5

Thread: [SOLVED] Qt: Signals and slots Error: undefined reference to `vtable for

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Qt: Signals and slots Error: undefined reference to `vtable for

    The output above clearly shows that there's no moc file generated.

    This probably means that you are using an old makefile.
    Remove all generated files before rebuilding again. It might be interesting to separate build and source directories. This way you can just delete the build directory and rebuild again.

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

    TheIndependentAquarius (2nd May 2011)

Similar Threads

  1. undefined reference to 'vtable ...'
    By GUIman in forum Newbie
    Replies: 5
    Last Post: 10th March 2011, 01:38
  2. Undefined reference to 'vtable for XXX'
    By Sheng in forum Qt Programming
    Replies: 4
    Last Post: 17th October 2008, 15:59
  3. Replies: 5
    Last Post: 7th November 2007, 14:46
  4. Error : undefined reference to `vtable for MyClass'
    By joseph in forum Qt Programming
    Replies: 23
    Last Post: 15th June 2007, 11:21
  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.