C
What's New in 2.5
Qt Quick Ultralite maintains source compatibility between minor releases. However, some changes may require you to adapt the application code. The following sections highlight such changes:
Important changes
- Enabled the critical assert error codes for debug builds only, and disabled them for
Rel
andMinSizeRel
builds. - Cypress Traveo II prebuilt libraries are built using the GHS 2017 compiler. You need the same compiler version to either use these libraries or recompile the core library.
- Downgraded the platform code for Renesas RH850 platform to C++03 and Cypress Traveo II to C++11.
- Added support for NXP MIMXRT1060-EVKB and dropped support for the earlier version of this board (
MIMXRT1060-EVK
). - Deprecated the
platformexporter
tool as you can now export the platform sources usingqmlprojectexporter
. Refer to QmlProject Manual for more information.
New features
- Added support for software vector graphics.
- Added support for GHS 2015.1.7 compiler with C++03 on the Renesas RH850.
- SDK upgrades:
- STM32H750B SDK to v1.11.0
- STM32F469 SDK to v1.27.1
- Renesas RH850/D1M1A RGL SDK to v2.1.0a
- NXP RT1050 and RT1064 to SDK v2.13.0
- NXP RT1060 and RT1170 to SDK v2.13.1
- Cypress Traveo II SDK to 1.2.1
- Added support for pausing and resuming an AnimatedSprite.
- QmlProject updates:
- Added documentation to enable easy migration of the UI resource configuration to QmlProject.
- Update the Quick start guides with
qmlprojectexporter
workflow. - Added the resourceAnimatedSpriteOptimizations QmlProject property to enable rendering only the changed regions of an image.
- Added support for generating a GHS Multi IDE project. Refer to the QmlProject Manual for more information about this option.
- Added support for LVDS displays on Renesas RH850/D1M1A. Refer to the supported displays section for more information.
Fixed issues
Qt for MCUs v2.5.1
- Fixed Qt desktop platform library to make sure a Qt for MCUs application does not busy-loop on desktop.
- Fixed
qmltocpp
to avoid unknown property warnings by Qt Creator for the StaticText, Rotation, and Scale QML types. - Fixes to examples and demos:
- Added explicit size to the main window in watch demo to avoid clipped edges on Desktop.
- Fixed the swipe_game demo to avoid unexpected artifacts. Dropped overlapping MouseArea objects and restricted to vertical scrolling only.
- Fixed the sprite_animations to avoid rendering artifacts.
- Fixed SwipeView to avoid grabbing touch events for disabled items.
- Fixed wrong stacking order of children with a
z
value. - Updated the code snippets in AnchorChanges documentation.
- Fixed crash while animating an item based on its property binding.
- Fixed regression in SwipeView to make sure
setCurrentIndex()
works as expected, even if you swipe beyond the minimum or maximum index. - Fixed event queue overrun on STM devices by using the
EventQueue::isEmpty
() method. - Fixed
qmlprojectexporter
to avoid callingqmltocpp
on modules that do not have QML files. - Fixed the following issue for AnimatedSprite:
- Avoid applying same frame optimization on cropping.
- Enable RLE compression for cropping optimization.
- Fixed QmlProject config for storage sections to support names with dot prefix.
- Added license check to
qmlprojectexporter
. - Fixed transition animations on PropertyChanges to avoid using property binding from a wrong state. Every call to the
setValue()
method clears the old binding. - Fixed animations triggered from C++ to make sure they don't end early.
- Fixed
qmlprojectexporter
to add the missing optimizations for a GHS project.
Qt for MCUs v2.5.0
- Fixed assertion for auto-wrapped Text items when its horizontal alignment is either
Text.AlignRight
orText.AlignHCenter
. - Improved text cache performance.
- Moved texture cache to internal RAM.
- Improved kit configuration support in Qt Creator.
- Fixed SwipeView to update its currentIndex while dragging.
- Fixed the ProgressBar implementation to initialize its
from
andto
properties with default values. - Improved
ResourceCropImageSequence
optimization support to remove the transparent pixels from the image sequences. - Fixed
qulrcc
to make sure it reuses saved data for the same frames. - Optimized the memory allocations done by the DrawingEngine for path points.
- Downgraded the
example-platform
implementation to C++03 so that it works on all platforms. - QmlProject fixes:
- Ignored DS properties that are not prefixed with
QDS
. - Added
libclang
dependency to avoid build failures when using the MinGW toolchain. - Increased the default process timeout interval to make sure that
qmlprojectexporter
has enough time to process large projects. - Update the logic to collect and include the linker options on a single line.
- Fixed the file selector logic to include the QML module dependencies.
- Ignored DS properties that are not prefixed with
- Examples and demos:
- Fixed thermo demo to avoid the flickering artifacts on STM32F769.
- Fixed the shapes example to avoid
- Updated the translation example resize the flag image based on screen orientation.
- Updated the LED PIN configuration for the freertos_multitask example to make sure the LED blinks on NXP RT1050.
- Fixed memory corruption when using the
onChanged
QML handlers for C++ properties. - Fixed flash targets for external Octa flash on Renesas RH850/D1M1A.
- Fixed
qmltocpp
to use relative path to the C++ functionality used in QML. - Added CMake warning about insufficient internal flash storage on Renesas RA6M3G with build types other than
MinSizeRel
. Refer to Renesas EK-RA6M3G notes for more information.
New APIs
APIs for application development
New QML Properties
QML Type AnimatedSprite:
paused : bool |
New QML Methods
QML Type AnimatedSprite:
Changes in earlier 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 | |
Changes in v2.2 | |
Changes in v2.3 | |
Changes in v2.4.0 | |
Changes in v2.5 | |
Changes in v2.6.0 |
Available under certain Qt licenses.
Find out more.