PDA

View Full Version : can't find linker symbol for virtual table for `QSurface' value



PeterVE
6th September 2016, 15:14
Application Output...


can't find linker symbol for virtual table for `QSurface' value
found `QStyleSheetStyleCaches::objectDestroyed(QObject*) ' instead

How do I figure this one out?

#include <QSurface> is in the file.

d_stranz
6th September 2016, 17:10
#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.