QQuickView setSource (qml) - hide() / show()
I have a problem with QQuickView.
If I first load a QQuickView, setSource to .qml File and call show() then everything works.
If I hide() the QQuickView and try show() again, the qml file is not shown.
I also tried it with setVisible(true/false), but that does not work, too.
setSource() again does not work, too.
Can someone help me?
It seems same to me. I slove it use below code.
@QQuickItem * rootItem = quickView->rootItem();
This sounds like a bug -- I'd suggest lodging a bug report at http://bugreports.qt-project.org (preferably with a simple example) so the issue can be followed up.