undefined reference to `vtable for MainWindow'
-
Hi
Created my first Qt project (Gui)
droped the button on the main form
and added a handler for this button clicking
and got this error.how can this be fixed and why this was raised in the trivial project?
-
Hi,
It generally means that at some point you added/removed the Q_OBJECT macro. In any case, re-run qmake and rebuild your project and you should be good to go
-
looks like a magic
rerun qmake/rebuild didn't solve the issue
but re-creating the project solvedthank you in any case!
-
This post is deleted!