I am new in qt. I have next inheritance:
class Poster : public QObject
{
Q_OBJECT
}
class SyncPoster: public Poster
{
Q_OBJECT
private slots:
... some functions
}
class TextPoster : public Poster
{
Q_OBJECT
private slots:
... some functions
}
But assembling throws followed error:
Undefined symbols for architecture x86_64: "vtable for SyncPoster", referenced from: SyncPoster::SyncPoster(Window*, QString const&, QString const&, QString const&, QString const&) in sync_poster.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. ld: symbol(s) not found for architecture x86_64
What does it mean, and what I do wrong? Have you any ideas?