[Solved]QtQuick 2.0 in QMainWindow
-
After some research i still couldn't find a good way to implement a QtQuick 2.0 Application into an already existing QMainWindow which already has got other Objects in it. Could it be done with QWindow or QQuickView somehow? or is there another and better way?
-
Have you looked at QWidget::"createWindowContainer":http://qt-project.org/doc/qt-5.1/qtwidgets/qwidget.html#createWindowContainer()?
-
I've looked at it but i wasn't sure it can be done with a MainWindow. Would a cast from MainWindow to QWindow be possible?
-
I think you misunderstand. QWindow pointer should point to your QtQuick GUI, while your MainWindow should be passed as parent.
-
Alright, i'll give it a try, thank you.