Please comment this line and see the results.
Qt Code:
To copy to clipboard, switch view to plain text mode
Please comment this line and see the results.
Qt Code:
To copy to clipboard, switch view to plain text mode
notice: QMetaObject::connectSlotsByName(this); is also used in generated ui_classname.h file.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
You are right, now it works! But why? If I don't connect the SLOTs and SIGNALs automatically or manually, the click on button should not call the corresponding function at all, but it does now. Why?![]()
because of this "notice: QMetaObject::connectSlotsByName(this); is also used in generated ui_classname.h file."
read this QMetaObject::connectSlotsByName.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Thank you very much for the explanations. They were very helpful.
Bookmarks