Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

Right way to dynamically create qml windows



  • Hi.
    I'm working on a Qt application and I need to create windows dynamically. Each window consists of QObject-based c++ backend and qml-based interface. Each window needs to be connected to the bunch of signals emitted by core classes. Current solution is to derive window from QQuickView, connect signals to it and load qml using setSource(). Is it a right way or there is a better way? Is it better to use one QQmlEngine for all windows (and use this engine as parent for every window) or create new engine for each new window?


Log in to reply