Adding slot for a signal of a widget is easy: right click on it and select "go to slot". But how can I remove the slot created for a button (like on_pushButton_clicked
) from the Qt designer.
You have to remove the declaration of <class_name>::on_pushButton_clicked()
from header file.