How do you completely delete push buttons in Qt?
If I delete it from the Design Editor and from MainWindow.cpp after linking it to "Go to slot…", it's obviously not completely gone, as it's still present in the Qt code itself. The Qt compiler then apparently tries to call it, which generates an error message.
First make sure that the signal slot is deleted.
Then start a rebuild for your project (or delete the folder with the compiler and recompile the project).