Hello forum,

I believe most of you have gone through the elastic node example. I trying to make some changes to the existing by including the signal and slot to serve my customized purpose.
Among the additional stuff i have subclassed the Node class from the QObject and included the Q_OBJECT macro. But i get the linker error as follows:


Qt Code:
  1. /media/chole_/QtDemo/examples/graphicsview/elasticnodes/node.cpp:19: error: undefined reference to `vtable for Node'
To copy to clipboard, switch view to plain text mode 


Any hint to resolve the issue?


Regards
Sajjad