Comment by ethan_smith
5 days ago
QML's declarative syntax combined with C++ performance and its property binding system makes it uniquely powerful for responsive desktop UIs without the overhead of web technologies.
5 days ago
QML's declarative syntax combined with C++ performance and its property binding system makes it uniquely powerful for responsive desktop UIs without the overhead of web technologies.
Except you can’t control Qml from C++ and it advised not to do that.
They also essentially have a performance limitation that you need a license to bypass. Slint has removed this performance limitation but is not compatible with Qml.
>They also essentially have a performance limitation that you need a license to bypass.
Can you elaborate?
Below are some excerpts to their docs and licensing page. The TLDR of it is they have two build outputs for applications, one with the standard qml runtime that essentially bundles js+qml and another that will fully compile it down to a cached bytecode. Here is a summary [0].
> qmlsc will be used instead of qmlcachegen if the Qt Quick Compiler Extensions are installed. [1]
> Qt for Application Development Enterprise > INCLUDES: > … > Qt QML Script Compiler extensions for advanced software compiling [2]
[0] https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html#summ...
[1] https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html#the-...
[2] https://www.qt.io/qt-licensing
It would be wonderful for games as well but I don't see it used there much