Running a Qt app over the web

前端 未结 7 1769
迷失自我
迷失自我 2021-01-02 06:46

I am writing an application using Qt and want to try and deploy it as a web-application. I want user\'s to be able to use my application by accessing it through a web browse

7条回答
  •  青春惊慌失措
    2021-01-02 07:02

    For the case of QML there is QmlWeb which is a JavaScript library that is able to parse QML-code and create a website out of it using normal HTML/DOM elements and absolute positions within CSS, translating the QML properties into CSS properties.

    QmlWeb is a small project by Lauri Paimen that he’s already developing for a few years now. QmlWeb of course doesn’t yet support everything Qt’s implementation of QML does, but it already supports a quite usable subset of it. It supports nearly all of the most basic QML syntax. Moreover it has support for HTML input elements (Button, TextInput, TextArea are currently supported, more to come).

    Well, QmlWeb is not finished. I hope Digia help with this project to make it ready with mature features.

提交回复
热议问题