Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
undefined reference to `vtable for MainWindow'
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?
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 solved
thank you in any case!
This post is deleted!