Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.13.1
-
None
Description
I have a subclass of QQuickItem that I use in a qml view. I've noticed that when I destroy the qml view, all qml-based children are destroyed but for c++ objects it's not a case. When I close the whole application, destructors for these objects are invoked. Is it possible to do something with that?
[Reference |https://forum.qt.io/topic/45482/c-object-destructor-is-not-invoked-when-qml-item-is-destroyed]