Ich habe ein etwas umfangreicheres Programm geschrieben, und bekomme beim Übersetzten folgende Fehlermeldung, mit der ich <B>nichts</B> anfangen kann:
<PRE>
Document.o: In function `Document:ocument(QWidget *, char const *, int)':
Document.o(.text+0x27): undefined reference to `Document::QPaintDevice virtual table'
Document.o(.text+0x31): undefined reference to `Document virtual table'
Bibliothek.o: In function `Bibliothek::Bibliothek(void)':
Bibliothek.o(.text+0x1e): undefined reference to `Bibliothek::QPaintDevice virtual table'
Bibliothek.o(.text+0x25): undefined reference to `Bibliothek virtual table'
Menu.o: In function `Menu::Menu(void)':
Menu.o(.text+0x101): undefined reference to `Menu::QPaintDevice virtual table'
Menu.o(.text+0x108): undefined reference to `Menu virtual table'
collect2: ld returned 1 exit status
</PRE>
Die selbe Fehlermeldung bekomme ich bei unterschiedlichen Kompilerversionen von gnu.
Kann mir jeman helfen?
<PRE>
Document.o: In function `Document:ocument(QWidget *, char const *, int)':
Document.o(.text+0x27): undefined reference to `Document::QPaintDevice virtual table'
Document.o(.text+0x31): undefined reference to `Document virtual table'
Bibliothek.o: In function `Bibliothek::Bibliothek(void)':
Bibliothek.o(.text+0x1e): undefined reference to `Bibliothek::QPaintDevice virtual table'
Bibliothek.o(.text+0x25): undefined reference to `Bibliothek virtual table'
Menu.o: In function `Menu::Menu(void)':
Menu.o(.text+0x101): undefined reference to `Menu::QPaintDevice virtual table'
Menu.o(.text+0x108): undefined reference to `Menu virtual table'
collect2: ld returned 1 exit status
</PRE>
Die selbe Fehlermeldung bekomme ich bei unterschiedlichen Kompilerversionen von gnu.
Kann mir jeman helfen?
Comment