C

What's New in 2.10

Qt Quick Ultralite maintains source compatibility between minor releases. However, some changes may require you to adapt the application code accordingly. The following sections highlight such changes:

Important changes

Qt for MCUs v2.10.1

Updated the client integration point to match Qt License Server (QLS) 3.4.0.

Updated the Boot to Qt dependency of the NXP i.MX93 platform from Boot to Qt Linux 6.6.3/Yocto 4.3 to Boot to Qt Linux 6.8.3/Yocto 5.0.

The focus of the Qt for MCUs 2.10.0 release was on the reference (Tier 1) platforms. The support for all the verified (Tier 2) platforms was added in the Qt for MCUs 2.10.1 release.

Support added for Infineon Traveo T2G CYT4DN (6M Lite Kit) as a new verified (Tier 2) platform.

Moved the following platforms under the verified (Tier 2) platforms category, which means they are not supported as comprehensively as the reference (Tier 1) platforms:

  • Infineon Traveo T2G CYT3DL (4M Evaluation Kit)
  • ST STM32F769i-Discovery

For more information on the platforms listed above, see Primary supported platforms.

Qt for MCUs v2.10.0

Moved Infineon Traveo T2G CYT3DL (4M Lite Kit) from the verified (Tier 2) platforms to the reference (Tier 1) platforms category to offer that platform more comprehensive support.

Moved the following platforms under the other platforms (Tier 3) category, which means they are not supported as comprehensively as the reference (Tier 1) and verified (Tier 2) platforms:

  • Infineon Traveo T2G CYT4EN (6M-DDR)
  • Renesas EK-RA6M3G
  • ST STM32F469I-Discovery

For more information on the Tier 3 platforms listed above, see Other supported platforms.

New features

  • Added Qul::initResources() to initialize and return a status code indicating the result. This enables handling the initialization failures better.
  • Add Qul::enableResourceChecksumVerification to verify CRC32 checksum of the resource data binary during resource initialization.
  • Added a guide for efficient layer and VRAM usage on Traveo T2G boards.
  • Added support for versioning resource binary data and verifying it during resource initialization.
  • Added support for copying resource binary files on AUTOSAR targets.
  • Added support for APP_SAFE_RENDERER C++ macro to enable Safe Renderer Bitmap (SRB) decoder in the app_common entrypoint.
  • Added StateGroup QML type to enable states for non-visual items.
  • Updated the default pinyin dictionary to include all characters in a word, irrespective of their frequency.
  • Improved logging of CYGFX_ERROR codes from the SDK on the Traveo T2G platforms.
  • Simplified building Qt Quick Ultralite libraries for Zephyr targets.
  • Added QtLocation and QtPositioning QML modules to support including maps in your application.
  • Updated text_input example to support i.MX 93 hardware.
  • Upgraded NXP SDK to v24.12.00.
  • Added lineHeight and lineHeightMode properties to control space between lines in a multi-line text.

Fixed issues

Qt for MCUs v2.10.1

  • Linux: Fixed the DRM screen manager build when CMAKE_SYSROOT is set.
  • Fixed the Linux platform to wake on scheduleEngineUpdate().
  • Fixed text cache entries to be freed while still shown in OTF layer for the TRAVEO T2G platforms.
  • Fixed Text items showing random data when using multiple layers on TRAVEO T2G platforms.
  • Fixed Text items to render properly for the text_layout_multi_spark flash target on the NXP 1170 platform.
  • Removed 3rd party ETL library dependency from the automotive and motor_cluster demos.
  • Refactored the duplicated code between State and StateGroup.
  • Fixed the SafeRenderer items to position correctly with layout items.
  • Fixed Hebrew text layout for Virtual Keyboard.
  • Updated to the latest official graphics driver release from Infineon.
  • Enabled link time optimization (LTO) also for QML modules when using the GCC toolchain, reducing footprint for applications with a lot of QML files kept in modules.
  • Fixed the generated code for a enum type reference.

Qt for MCUs v2.10.0

  • qulrcc fixes:
    • Consider display rotation angle if configured while rendering sprite animations.
    • Fixed a build issue that could occur when ImageFiles.MCU.resourceAsFile is true.
  • Fixed the desktop platform to not ignore a custom error handler.
  • qmltocpp fixes:
    • Warn if items within a positioner (Column or Row) or Layout use anchors, which either cause a binding loop or conflict with the layout's positioning.
    • Add extra properties in the generated code for a Component to include all attributes of the component's children. This avoids undefined behavior or crash while loading such components using a Loader.
    • Handle arg() entries for string objects.
    • Use correct base type info. while generating code for types that inherit from Qul::Singleton, which is a template.
  • Fixed regression in multi-line detection logic in Text items.
  • Fixed regression in watch demo on NXP RT1064 when built with the IAR toolchain.
  • Fixed qmlprojectexporter to handle Infineon ResourceGenerator in export cache.

New APIs

APIs for application development

New Classes

New Member Functions

Class Status:

(since Qt Quick Ultralite 2.10) void clearError()
(since Qt Quick Ultralite 2.10) ErrorEnum error() const
(since Qt Quick Ultralite 2.10) bool hasError() const
(since Qt Quick Ultralite 2.10) bool operator bool() const
(since Qt Quick Ultralite 2.10) void setError(ErrorEnum error)

New Functions in Namespaces

(since Qt Quick Ultralite 2.10) void enableResourceChecksumVerification()
(since Qt Quick Ultralite 2.10) Qul::Status<Qul::ResourceInitializationError> initResources()

New Enum Types

(since Qt Quick Ultralite 2.10) enum class PlatformInitializationType { InitializePlatform, InitializePlatformAndResources }
(since Qt Quick Ultralite 2.10) enum class ResourceInitializationError { InvalidChecksum, InvalidResourceData, MemoryAllocationFailed, UnsupportedRawDataImageFormat, VersionTooHigh, VersionTooLow }

New QML Types

New QML Properties

QML Type Text:

(since Qt Quick Ultralite 2.10) lineHeight : real
(since Qt Quick Ultralite 2.10) lineHeightMode : enumeration

Changes in Previous Versions

Available under certain Qt licenses.
Find out more.