Qt: Undefined reference to 'vtable' [duplicate]
问题 This question already has answers here : Qt Linker Error: “undefined reference to vtable” [duplicate] (9 answers) Closed 4 years ago . I am working on a program in Qt using c++. But i got stuck at this point because of this error. The weird thing is that i created a separate program in which the following code worked but when i put the code inside my program i get an error. error: undefined reference to `vtable for Create_button_config' The error is in the Header file in which i create the