Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] QML gc() destroys dynamically created objects in array
Peter K last edited by
My bad. I stored a child object into the array, but not the "root", leaving it unreferenced. gc() obviously destroyed the parent with all the childs belonging to it.