what is benefits of using qRegisterMetaType ?
-
I want to know when qRegisterMetaType get used in constructor ?
i also want to know benefits of using it ?
-
I want to know when qRegisterMetaType get used in constructor ?
i also want to know benefits of using it ?
@Qt-embedded-developer said in what is benefits of using qRegisterMetaType ?:
i also want to know benefits of using it ?
If your custom class is not a registered metatyp, you cant use your object in a cross-thread signal-slot-connection.
It also allows to construct and destruct objects of this, now Qt-type, dynamically at runtime. -
@Qt-embedded-developer said in what is benefits of using qRegisterMetaType ?:
i also want to know benefits of using it ?
If your custom class is not a registered metatyp, you cant use your object in a cross-thread signal-slot-connection.
It also allows to construct and destruct objects of this, now Qt-type, dynamically at runtime.@Pl45m4 Thanks