Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 6.2 beta1 reciving qobject Pointer in c++



  • 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


Log in to reply