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_FILES
andMODULE_URI
arguments 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-baremetal
CMake 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 theqmldir
files. Use the"import <uri>"
statements instead. - Modified the Keys.onPressed and Keys.onReleased signal handlers. They no longer use an integral
key
parameter, but use anevent
parameter 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
modelData
role to access the object literal value. - Removed the
red()
,green()
,blue()
, andalpha()
functions from color. Use the newr
,g
,b
, anda
properties instead. This improves QML compatibility with Qt 5.15. - The import statement for the
QULCharts
module changed fromQtQuick.Charts
toQtCharts
to align with theQt Charts
module 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:
rotation : real | |
scale : real | |
transformOrigin : enumeration |
QML Type Text:
rotation : real | |
scale : real | |
transformOrigin : enumeration |
Available under certain Qt licenses.
Find out more.