C
What's New in 2.2
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:
New features
- Added QUL_PLATFORM_DEFAULT_BINARY_ASSET_OPTIONS to enable configuring how the asset data binaries are included in the application binary.
- Compiler, graphics driver, and SDK upgrades:
- ARM GCC compiler v10.3.
- IAR compiler 9.20.4.
- Graphics Driver v1e.1.0 for Traveo II Cluster Series
- MCUXPresso SDK v2.11.1
- Added support for the RK055HDMIPI4MA0 display on NXP RT1170.
- Added the QUL_RH850_FLASH_TYPE and QUL_RH850_RAM_TYPE configure options to enable using Octa flash and Octa RAM for resource data.
- Added support to build the tviic2d6m-baremetal platform using the IAR 8.22 Functional Safety compiler.
- Added the Text.wrapMode API.
- Added error notification API to enable applications handle Qt Quick Ultralite errors gracefully. Refer to Error handling for more information.
- Added the qul_generate_flash_target CMake command to generate flash target.
- Added the texture() and textureCount() functions to access texture data.
- Added the performance and footprint guide to enable using Qt for MCUs optimally.
- Added Monotype FontmapEditor support for the Linux host, and upgraded it to the latest version.
Fixed issues
- Optimized bindings to reduce code size by around 3-15% depending on the toolchain and the application.
- Fixed text layout to not include leading (font metric) in line height. This improves compatibility between Qt Quick and Qt Quick Ultralite.
- Fixed layers ignoring visible property and ensure that the property is also propagated to the layer's children.
- Fixed packaging to ensure that the compatibility sources are included.
- Optimized qulrcc to ensure that the raw binary data is aligned properly.
- Optimized the Screen and ItemLayer types to warn about wrong usage.
- Fixed inconsistent behavior in qulrcc when a qul_add_resource has BASE and PREFIX defined.
- Updated NXT RT1170 platform port to use a series of bezier curves instead of an arc.
- Fixed the font data array address alignment issue.
- Updated Qt Quick Ultralite to be compatible with Qt 6.2.4.
- Fixed memory manager to skip aligning memory in case of a nullptr.
- Fixed the Chess example to handle the turn indicator's location based on the screen orientation.
- Fixed rendering issues on Traveo II with Green Hills toolchain.
- Refactored blending logic to avoid flickering on STM32H750B.
New APIs
APIs for application development
New Member Functions
Class SharedImage:
Qul::PlatformInterface::Texture | texture(int textureIndex = 0) const |
int | textureCount() const |
New Functions in Namespaces
QulErrorHandler * | setErrorHandler(QulErrorHandler *handler) |
New Global Functions
const char * | errorCodeToString(QulError code) |
APIs for platform development
New Global Functions
void | error(unsigned int lineNumber, QulError code, int param1 = 0, int param2 = 0, int param3 = 0) |
QulErrorHandler * | setErrorHandler(QulErrorHandler *handler) |
New Macros
QUL_ASSERT(expression, code, ...) |
Changes in Previous Versions
Changes in v1.1.0 | |
Changes in v1.2.0 | |
Changes in v1.3.0 | |
Changes in v1.4.0 | |
Changes in v1.5.0 | |
Changes in v1.6.0 | |
Changes in v1.7.0 | |
Changes in v1.8.0 | |
Changes in v1.9.0 | |
Changes in v2.0.0 | |
Changes in v2.1 |
Available under certain Qt licenses.
Find out more.