Hi,
I'm trying to create a class which includes signals and slots. I get the following errors on compilation. Please help.
main.
o(.
text+0x56d5
): In function `controls
::controls[not
-in
-charge
](QWidget*)':/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x56e1):/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x59bd): In function `controls::controls[in-charge](QWidget*)':
/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x59c9):/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x5f52): In function `controls::emitvalue()':
/home/utsav/FYP/final/controls.cpp:76: undefined reference to `controls::triggered(int)'
main.o(.gnu.linkonce.t._ZN8controlsD1Ev+0xc): In function `controls::~controls [in-charge]()':
/usr/local/Trolltech/Qt-4.1.0/include/QtCore/qpoint.h:101: undefined reference to `vtable for controls'
main.o(.gnu.linkonce.t._ZN8controlsD1Ev+0x18): In function `controls::~controls [in-charge]()':
/usr/local/Trolltech/Qt-4.1.0/include/QtGui/qcolor.h:217: undefined reference to `vtable for controls'
main.o(.text+0x56d5): In function `controls::controls[not-in-charge](QWidget*)':
/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x56e1):/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x59bd): In function `controls::controls[in-charge](QWidget*)':
/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x59c9):/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
main.o(.text+0x5f52): In function `controls::emitvalue()':
/home/utsav/FYP/final/controls.cpp:76: undefined reference to `controls::triggered(int)'
main.o(.gnu.linkonce.t._ZN8controlsD1Ev+0xc): In function `controls::~controls [in-charge]()':
/usr/local/Trolltech/Qt-4.1.0/include/QtCore/qpoint.h:101: undefined reference to `vtable for controls'
main.o(.gnu.linkonce.t._ZN8controlsD1Ev+0x18): In function `controls::~controls [in-charge]()':
/usr/local/Trolltech/Qt-4.1.0/include/QtGui/qcolor.h:217: undefined reference to `vtable for controls'
To copy to clipboard, switch view to plain text mode
Thanks
superutsav
Bookmarks