⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

QQuickView setSource (qml) - hide() / show()

  • Hello,

    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?

    Thank you.

  • It seems same to me. I slove it use below code.
    @QQuickItem * rootItem = quickView->rootItem();

  • Hi,

    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.


Log in to reply