Dynamic create and delete Object
-
Hello,
I want to create, store and delete Qml-Objects (like http://doc.qt.io/qt-5/qtqml-javascript-dynamicobjectcreation.html).
My Question ist:
I pass and store the created Object in C++. Can I delete the passed object without memoryleak or do I have to delete the object in Qml (like in the tutorial)? -
I think you can delete in C++, especially if you have created the object in C++, too.