Proper QML Dialog integration with QtWidget QMainWindow
Unsolved
QML and Qt Quick
-
Hi,
I have a QtWidget application comprising of a QMainWindow from which other QDialogs are opened from. I want to slowly migrate the application to QtQuick by converting each QDialog to a QML Dialog, then finally converting the QMainWindow to a QML ApplicationWindow.
Until the migration is complete, the application will momentarily be a hybrid of a QMainWindow opening both QDialogs and QML Dialogs.
So my question is what is the proper way to create and open a QML Dialog from a QtWidget QMainWindow?
I am using Qt >= 5.15.0
Thanks.