Qt 6.2 beta1 reciving qobject Pointer in c++
Solved
QML and Qt Quick
-
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? -
Hops i forget to make the new object a type of already register with the newmetaonject