Unsolved Disable connect-by-name
Can one disable connect-by-name signal-slot function? I would like to set everything by myself i.e. to avoid double connections messing up everything.
Chris Kawa Moderators last edited by
What do you mean by connect-by-name? And what do you mean by "disable"? There's no notion of disabling functions in c++;
If you want to avoid doubled connections you can pass Qt::UniqueConnection as the last param of connect.
mrjj Lifetime Qt Champion last edited by mrjj
Do you mean the auto connect from Designer UI files?
Sò buttons work with no connect code?
It is based on the slots look like this
void on_widget name_signalname
so if you rename it to not follow this pattern, it won't be auto connected.