unnecessary warning
-
Some slots are connect to signal dynamically, .e.g. recent opened files
If the function name is in a regular pattern asvoid on_<object name>_<signal name>(<signal parameters>);,
there would be a warning as below:qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal forWith a regular function name, is there any way to disable the warning?
-
Some slots are connect to signal dynamically, .e.g. recent opened files
If the function name is in a regular pattern asvoid on_<object name>_<signal name>(<signal parameters>);,
there would be a warning as below:qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal forWith a regular function name, is there any way to disable the warning?
-
@jronald said in unnecessary warning:
With a regular function name, is there any way to disable the warning?
Either rename the function or disable
ConnectSlotsByNameinuicthrough the-aoption. -
J jronald has marked this topic as solved on