3 ms·
QML's declarative syntax combined with C++ performance and its property binding system makes it uniquely powerful for responsive desktop UIs without the overhea
by ethan_smith 1y 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.
- nylonstrung 1y agoIt would be wonderful for games as well but I don't see it used there much
- righthand 1y agoExcept 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.
- no_time 1y ago>They also essentially have a performance limitation that you need a license to bypass. Can you elaborate?
- righthand 1y agoBelow 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#summary 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-qml-script-compiler https://doc.qt.io/qt-6/qtqml-qtquick-compiler-tech.html#the-... [2] https://www.qt.io/qt-licensing https://www.qt.io/qt-licensing