Launching qml app from c++ app
-
Hello,
I am wondering if it is possible to have a QML file run from a Qt C++ app without having to use QQuickView or something. I am trying to build a heads up display for my C++ app and I would like the hud to be in QML. How can I have the QML file run when a button in the C++ part of the app is clicked? Do I have to use QQuickView?
-
You can run QtQuick in a QWidget, too, using QWidget::createWindowContainer(). "Link":http://qt-project.org/doc/qt-5/qwidget.html#createWindowContainer.