Is there any way to embed ActiveX controls in QQuickWindow on Windows platform?
In my QML application,I need to show some old ActiveX controls which had lost source code,and I found a very usefull class QAxWidget,but it can only work with QWidget-based application.
Is there any way to embed ActiveX controls in QML-based application?
If no,what about future versions?
!http://images-fast.digu365.com/f1fad2df57788a879613d6875837df47_0002.jpg(Please help me!)!
Yo can add a QQuickView in your widget based application and you can add widgets to QML scene. Also you can Inherit QQuickItem to do the job for you.
Have a look at "QQuickWidget":http://qt-project.org/doc/qt-5/qquickwidget.html#details.
But QQuickWidget can not solve my problem.
QQuickWidget can only make the QML scene and the QAxWidget be sons of the same QWidget-based application,the QAxWidget is a brother beside the QML scene,not part of.
I need the ActiveX controls be a part of QML scene ,working like the QML type WebView of QtWebkit 3.0,displaying in the area of QML scene.
Did I just ask for too much?
I don't think there's a pure QML way of doing this.