Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
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!