Skip to main content

The future of QML

The QML language and engine face major new challenges and developments. In order to scale down to smaller and smaller devices, a simpler dialect of the language needs to be formulated. This dialect can then be compiled ahead of time, reducing the run-time loading overhead and allowing additional optimizations.

In total there will be three dialects of QML, building on each other:

  • Static QML is for MCUs, and allows only very simple expressions and a reduced set of elements
  • Strict QML offers a larger feature set that is still compilable ahead of time
  • Dynamic QML gives you the full power of the language and all the elements you know from Qt5, at the cost of having to interpret it at runtime

The talk will give an overview of the new architecture as well as the changes to the language. It will show what changes you need to apply to your QML files in order to compile them ahead of time in the future.

Speaker: Fabian Kosmale, Software Engineer, The Qt Company

Ulf Hermann, Principal Software Engineer, The Qt Company

Ulf Hermann has a degree in computer science from the Humboldt University in Berlin and has been working at the Qt Company since 2013. He has mostly focused on the tooling integration between QML and Qt Creator, but also worked on Qt SCXML and wrote profiling tools for Qt Creator. Since 2019 he is the maintainer for Qt QML.