Convert from Qt to Qt for MCU – Qt AI Assistant 0.9.7 released

Stretching your Qt UI to devices powered by microcontrollers (MCU) is now even easier! The Qt Quick Ultralite Converter of the Qt AI Assistant translates a QML to Ultralite-compliant code. It brings core Qt graphical features to resource-constrained embedded systems, streamlining application development and deployment.

This release also includes an upgrade of Claude Sonnet LLMs to 4.5, DeepSeek LLM to v3.2, and adds prompt support for Codestral. 

Qt Quick Ultralite Converter Assistant

You can transform your Qt Quick-based UI designs and design systems with the Ultralite Converter Assistant, thereby extending your embedded device portfolio to lower price points using the same UI design.

The assistant converts QML code to Qt Quick Ultralite code, which runs on microcontroller units (MCUs). Since Qt Quick Ultralite is largely a subset of Qt Quick—with a few exceptions such as the StaticText type—the output can also run in Qt Quick on embedded devices with microprocessor units (MPUs). This assistant currently works only with Claude Sonnet 4.5 because it generates the best and most reliable results.

 UltraliteConverterGIF

The assistant converts QML UI code by

  • converting not supported UI controls, such as DelayButton, ComboBox, or GroupBox, to alternative QML types such as Button and Timer, Rectangle and ListView, or Rectangle with borders.
  • converting not supported properties, such as the indeterminate property of a ProgressBar, to an animation.
  • commenting out methods and properties that require complex workarounds

The assistant currently does not:

  • Convert UI containers such as StackViews, Dialog, or Page because a migration of such components should be done only after a holistic UI design review.

Like all coding assistants powered by Generative AI, the Ultralite Converter Assistant can occasionally make mistakes.

Claude Sonnet 4.5 Support

Sonnet 4.5 is a mixed bag for QML programmers. On the one hand, it has learned a few more tricks when it comes to creating Qt6-compliant code. It is now using the RegularExpressionValidator reliably. It also created a blur effect with the MultiEffect type for the first time successfully. On the other hand, its overall QML100 benchmark score for coding, based on natural language prompts, decreased slightly compared to Sonnet 4.

QML100PerformanceNov25-1

DeepSeek v3.2 Support

DeepSeek has forced an upgrade of the model available through the cloud API from version 3.1 to version 3.2. We have verified the Qt AI Assistant functionality and made a few adjustments to the prompts. The overall coding performance remained the same.

Codestral 2508 Support

This release enables the use of Codestral for natural language prompts in addition to code completion. The QML coding performance is not exactly impressive compared to mainstream LLMs such as Sonnet 4 and GPT-5; however, for some customers, this European choice, which can be hosted privately, is a suitable option for supporting Junior Qt UI developers.

Multiline Prompt Input

The Qt AI Assistant now supports multi-line prompts for more complex tasks. Pressing the Shift-Return keys triggers a line break in the inline prompt window.

How to Upgrade

To upgrade, first update Qt Creator to version 18. Remember to enable the use of external repositories in the Extensions view. The Qt AI Assistant v0.9.7 will then appear.

Meanwhile…

  • we added a token estimate counter in the inline prompt window for Sonnet 4.5 and Gemini 2.5 Pro

 

 

 

 


Blog Topics:

Comments