Hi...Originally Posted by incubator
i have done something similar but getting error
"Undefined reference to VTABLE" error.. I know this is inheritance problem but am not able to understand where i have gone wrong..
i have created a main.cpp where i create MainWindow object and pass it to ImageZoomer.cpp...
Now in ImageZoomer.cpp i have created CanvasMouse object and passed it the frame where i have to set the Canvas...
CanvasMouse derives the base class Q3CanvasView and in the constructor i have intialized the Q3CanvasView to frame.. The statement is:
CanvasMouse::CanvasMouse(QFrame *frame): Q3CanvasView(frame){}
But it is creating error.. what can be the possible reason behind it...




Reply With Quote
Bookmarks