I'm up to this chapter of the official Qt tutorial. I've copied and pasted the three source files and I'm trying to compile them but I get these messages:
Can anyone who knows about Qt shed some light on what's happening?
Thanks.
Code:
> g++ -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I/usr/local/include -L/usr/local/lib/qt4 -lQtGui -lQtCore main.cpp lcdrange.cpp
/var/tmp//ccP3Tdr9.o(.text+0x194): In function `LCDRange::LCDRange(QWidget*)':
: undefined reference to `vtable for LCDRange'
/var/tmp//ccP3Tdr9.o(.text+0x19e): In function `LCDRange::LCDRange(QWidget*)':
: undefined reference to `vtable for LCDRange'
/var/tmp//ccP3Tdr9.o(.text+0x434): In function `LCDRange::LCDRange(QWidget*)':
: undefined reference to `vtable for LCDRange'
/var/tmp//ccP3Tdr9.o(.text+0x43e): In function `LCDRange::LCDRange(QWidget*)':
: undefined reference to `vtable for LCDRange'
>
Can anyone who knows about Qt shed some light on what's happening?
Thanks.