Solved QDialog or a QMainWindow from qml
Hi, is there a way to create a QDialog or a QMainWindow from qml?
Sorry but I haven't explained so good.
I have a qml application and I need to show a QWidget in a separate window.
IntruderExcluder last edited by
You can call from QML any C++ backend function that creates
QDialogfrom widgets part, just do not forget that it requeres
widgetsmodule and also your application should be created as
At the end I have rewritten the project using a normal QMainWindow object with a QQuickWidget object in it so I can use both qml and qwidgets objects