Your case looks much more like the use case of a Loader.
A general rule of thumb is that you do not attempt to access QML created objects by objectName and findChild/findChildren.
This kind of dependency inversion (C++ code depending on specific objects in QML) is almost always a bad idea.
Maybe order of deletion gone wrong.
Try to not set JavaScriptOwnership, the QObject parent should be enough.
But again, this looks like a classic Loader scenario to me.
Cheers,
_
Bookmarks