qt.core.qmetaobject.connectslotsbyname error
-
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_pushButtonCancel_clicked()I got this warning. When I search for
on_pushButtonCancel_clicked(), I found I used it in 2 different classes. Are same names in different classes not allowed? -
It simply means that you don't have an object with the name
pushButtonCancelin your ui you're using in your dialog.
Please stop using the auto-connect feature and do the connect() calls by yourself. -
It simply means that you don't have an object with the name
pushButtonCancelin your ui you're using in your dialog.
Please stop using the auto-connect feature and do the connect() calls by yourself.@Christian-Ehrlicher thanks, yes i checked ui, prolly i deleted the button by mistake.