Code: QMetaObject::connectSlotsByName: No matching signal for on_MyWindow_testSignal()This is because when connectSlotsByName processes the on_MyWindow_testSignal slot it looks for a child object named "MyWindow" of the object passed as parameter (in the above case this, the instance of the MainWindow class) which it cannot find because it is not a child object but the instance itself that is named "MyWindow".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |