hgedek
10th October 2007, 14:09
I inherited a GraphicsView class from QGraphicsView. I tried to use Q_Object in it.I need signals.But
graphicsview.o(.text+0x634): In function `GraphicsView::GraphicsView(QWidget*)':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0x860): In function `GraphicsView::GraphicsView(QWidget*)':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0xf3c): In function `GraphicsView::~GraphicsView()':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0x12e8): In function `GraphicsView::~GraphicsView()':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0x1694): In function `GraphicsView::~GraphicsView()':
these errors I got.Problem?
graphicsview.o(.text+0x634): In function `GraphicsView::GraphicsView(QWidget*)':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0x860): In function `GraphicsView::GraphicsView(QWidget*)':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0xf3c): In function `GraphicsView::~GraphicsView()':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0x12e8): In function `GraphicsView::~GraphicsView()':
: undefined reference to `vtable for GraphicsView'
graphicsview.o(.text+0x1694): In function `GraphicsView::~GraphicsView()':
these errors I got.Problem?