I tried to compile a class with virtual functions and qtcreator want only compile the functions inside the header. I cannot compîle when the functions are in the cpp file. The compilator says the vtable is not defined.