Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error ASSERT: "!create" in file
Jose_mcs last edited by
I created a function that fills an object and returns that object but after several calls to this function it gives me an ASSERT error: "! create" in file.
I made debug and I know of the error in the return prop, it never goes into nullprt.
Below i send image from code c++.
Has anyone had problems filling out classes in c ++ and sending to qml like I am having.
Thank you to all and have a nice day of programming .
This can happen only if prop object is NULL. Looks like in some use case awi_base has NULL object somehow.
Samuel Costa last edited by Samuel Costa
How can I pass the reference of an already filled object to the qml in a function?
I already tried to return this object but the qml for some reason converts the object to "qqmlwatchproxy".