How to delete qml object from Qt slot?
My application has mixed with QML & Qt. Launching heap based QQuickView object from Qt Slot. How to gracefully delete the QQuickView object when use click on close button ('X' button next to minimize/mazimize/restore) QML screen. Any inputs.
Pass the parent object to QQuickView and it will be deleted on quit.