Nominate our 2022 Qt Champions!

QQuickView instead of QQmlApplicationEngine?

  • I've been enjoying getting to know Qt again (I used it a loooong time ago in the mid 90's) and I've been using QQmlApplicationEngine as the basis for my application's UI.

    Now that I'm needing to swap out the UI completely, and finding that the only way I can do that with QQmlApplicaitonEngine is by closing the mainwindow and then loading, I am wondering if I need to migrate to QQuickView so that I can load all new QML components without having to close the Window.

    Is this the right thing to do or am I missing something on QQmlApplicationEngine?

    Thanks :)

Log in to reply