Results 1 to 2 of 2

Thread: can't find linker symbol for virtual table for `QSurface' value

  1. #1
    Join Date
    Jul 2016
    Posts
    18
    Thanks
    3
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default can't find linker symbol for virtual table for `QSurface' value

    Application Output...

    Qt Code:
    1. can't find linker symbol for virtual table for `QSurface' value
    2. found `QStyleSheetStyleCaches::objectDestroyed(QObject*)' instead
    To copy to clipboard, switch view to plain text mode 

    How do I figure this one out?

    #include <QSurface> is in the file.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: can't find linker symbol for virtual table for `QSurface' value

    #include statements are used at compile time. Your error is a link- or run-time problem, and may mean that you haven't linked in the library needed for QSurface. Or it may mean that your application is corrupting memory while running and the error you see is because a corrupt stack has caused your app to wander off into some random part of the Qt libraries and execute some random piece of Qt code.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. "Can't find linker symbol for virtual table" problem
    By Momergil in forum Qt Programming
    Replies: 0
    Last Post: 12th June 2014, 02:59
  2. MSVC linker can't find library
    By torin in forum Newbie
    Replies: 1
    Last Post: 20th June 2013, 23:37
  3. Replies: 6
    Last Post: 17th August 2012, 20:35
  4. Replies: 3
    Last Post: 22nd February 2011, 08:53
  5. Linker chokes on virtual methods
    By kahahn in forum General Programming
    Replies: 2
    Last Post: 23rd June 2009, 20:58

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.