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.

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
1 Answer
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
8 months ago

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).