In the case of QML, there is QmlWeb , which is a JavaScript library that is able to parse QML code and create a website for its use using ordinary HTML / DOM elements and absolute positions in CSS, translating QML properties into CSS properties.
QmlWeb is a small Lauri Paymen project that has been under development for several years. QmlWeb, of course, does not yet support all Qts QML implementations, but it already supports a completely usable subset. It supports almost all of the basic QML syntax. In addition, it supports HTML input elements (Button, TextInput, TextArea is currently supported, not all).
Well, QmlWeb is not finished. I hope Digia helps in this project to prepare it with mature features.
source share