QMetaObject::connectSlotsByName: No matching signal for on_MainWindow_destroyed()
It means you have an automatically named slot method in the main window or top-level widget.
Qt will automatically connect slots for child widgets, but not the top-level widget.
To solve this problem, you need to:
- Rename the slot so it doesn't start with "on_"
- Manually connect the slot.
I've reported this as Qt Designer bug QT-7582.
References:
Thanks buddy! you helped me :-)
ReplyDeleteIt's really stupid that having "on_" at the beginning would mess with the compiler! this is really weird C++!!!
thanks! you solved my problem too!
ReplyDeleteAndrea
:) Incredible...thank you very much!!
ReplyDeleteThanks!
ReplyDeletewow this is quite stupid... :)
ReplyDeleteThank you once again!
Thanks too !
ReplyDeletethank you >___<
ReplyDeleteyou solve my problem!!