Hello,
I try to connect ROOT to Qt. And, all work fine, before i don’t try to create class with parent a TObject. I write something like that:
class MyClass : public TObject
{
public:
MyClass() {;}
Int_t a;
Int_t b;
ClassDef(MyClass, 1);
}
And, after i try to create this class i see next error:
error: undefined reference to `vtable for MyClass'
I tried to add a destructor of class and a few another hacks from Google. But im not fully understood, whats wrong?
Could you say me, what im doing wrong?
Thanks