I don't think you can do that with Q_GADGET.
At least QMetaObject::invokeMethod() always requires a QObject* as the "receiver" object.
Cheers,
_
I don't think you can do that with Q_GADGET.
At least QMetaObject::invokeMethod() always requires a QObject* as the "receiver" object.
Cheers,
_
Bookmarks