Qt 6.2 beta1 reciving qobject Pointer in c++
Solved
QML and Qt Quick
-
wrote on 11 Jul 2021, 11:07 last edited by
When reciving a qobject from JavaScript into a c++ method that recives a qobject drived class as a Pointer it comes as a null widget and not a qobject Pointer, it is need to use qjsvalue::toObject to to covert.
It is not possibel to convert directly into a qobject pointer converted directly by the proxy engine? -
wrote on 11 Jul 2021, 14:24 last edited by
Hops i forget to make the new object a type of already register with the newmetaonject
1/2