C
What's New in 1.3
Changes in 1.3
New features
- The rotation, scale, and transformOrigin properties are now supported by the Image, Text, and StaticText types.
- Added new Qt Quick Ultralite Timeline QML module. This enables using the Timeline feature of Qt Design Studio for MCU projects.
- Added the qul_add_qml_module() CMake function to simplify setting up QML modules. The
COPY_QML_FILESandMODULE_URIarguments to qul_target_qml_sources() are now deprecated. - Added a Qt Quick compatibility module to let you use Qt Quick Ultralite specific QML types in a regular Qt Quick application. See Reusing Qt Quick Ultralite QML objects with Qt QML for more information.
- Added support for NXP i.MX RT1060 Evaluation Kit. Use the
QUL_PLATFORM=MIMXRT1060-EVK-baremetalCMake option to configure your project for this platform.
Source compatibility breaks
- Moved StaticText and ColorizedImage QML types to the Qt Quick Ultralite Extras QML module. You must now add the
"import QtQuickUltralite.Extras"statement to your QML files to use these types. - Disallowed using
"pragma Singleton"QML types that are not imported as part of a QML module. This is done to improve compatibility with Qt QML. - Dropped support for
"depends"commands in theqmldirfiles. Use the"import <uri>"statements instead. - Modified the Keys.onPressed and Keys.onReleased signal handlers. They no longer use an integral
keyparameter, but use aneventparameter of KeyEvent type instead. This improves QML compatibility with Qt 5.15. - Modified QML models that are defined as arrays containing object literals. Such models no longer have roles for the object properties. Use the
modelDatarole to access the object literal value. - Removed the
red(),green(),blue(), andalpha()functions from color. Use the newr,g,b, andaproperties instead. This improves QML compatibility with Qt 5.15. - The import statement for the
QULChartsmodule changed fromQtQuick.ChartstoQtChartsto align with theQt Chartsmodule of Qt.
Other changes
- The minimum required version of CMake changed to version 3.15, from version 3.13.
Fixed issues
- Improved handling of flicking between SwipeView pages.
- Fixed crash related to SwipeView::interactive.
- Fixed support for Qul::qreal in model structs and exported C++ functions.
- Fixed crash in FreeRTOS
free(nullptr). - Enabled calling the qul_target_qml_sources CMake function more than once per target.
New APIs
New QML Types
New QML Properties
QML Type Image:
(since Qt Quick Ultralite 1.3) | rotation : real |
(since Qt Quick Ultralite 1.3) | scale : real |
(since Qt Quick Ultralite 1.3) | transformOrigin : enumeration |
QML Type Text:
(since Qt Quick Ultralite 1.3) | rotation : real |
(since Qt Quick Ultralite 1.3) | scale : real |
(since Qt Quick Ultralite 1.3) | transformOrigin : enumeration |
Available under certain Qt licenses.
Find out more.