C

What's New in 1.8

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 API to drive main loop from application code
  • Added QtQuick Ultralite Shapes API for vector graphics, with implementation for NXP's i.MX RT1170.
  • Added support for Renesas EK-RA6M3G Evaluation Kit. Use the QUL_PLATFORM=EK-RA6M3G-baremetal CMake option to configure your project for this platform.
  • Added IAR compiler toolchain support for i.MX RT1170.
  • Added support for building Qt Quick Ultralite as a static library to enable integrating with an existing project.
  • Added RGB332 pixel format to support 8-bit images.
  • Added the QUL_GLYPHS_COPY_TO_RAM and QUL_FONT_FILES_COPY_TO_RAM CMake target properties to configure glyph and font file run-time storage.

Fixed issues

  • Removed the refreshInterval variable on i.MX RT1170 to avoid compilation failure using the IAR toolchain.
  • Removed expiry time for Renesas RH850-D1M1A binaries built using Green Hills.
  • Refactored input event handling, separating the event filtering and acceptance logic.
  • Documented the FreeRTOS directory name changes between the NXP SDK versions.
  • Fixed flickering on STM32H750B-Disco.
  • Changed example kit extension in the shipped packages.
  • Added the fallback renderer as default for the blendImage function on STM32.
  • Fixed issue where the Monotype Spark font engine integration was bypassing glyph cache and therfore would affect run-time performance.

Other changes

  • Fixed the version number in the kit description files for the Arm GCC and GreenHills toolchain.

New APIs

APIs for application development

New Member Functions

Class Application:

(since Qt Quick Ultralite 1.8) uint64_t update()

New QML Types

APIs for platform development

New Classes

New Member Functions

Class DrawingEngine:

(since Qt Quick Ultralite (Platform) 1.8) virtual Qul::PlatformInterface::DrawingEngine::Path *allocatePath(const Qul::PlatformInterface::PathData *pathData, Qul::PlatformInterface::PathFillRule fillRule)
(since Qt Quick Ultralite (Platform) 1.8) virtual void blendPath(Qul::PlatformInterface::DrawingDevice *drawingDevice, Qul::PlatformInterface::DrawingEngine::Path *path, const Qul::PlatformInterface::Transform &transform, const Qul::PlatformInterface::Rect &clipRect, const Qul::PlatformInterface::Brush *fillBrush, const Qul::PlatformInterface::Brush *strokeBrush, int sourceOpacity, Qul::PlatformInterface::DrawingEngine::BlendMode blendMode = BlendMode_SourceOver)
(since Qt Quick Ultralite (Platform) 1.8) virtual void setStrokeProperties(Qul::PlatformInterface::DrawingEngine::Path *path, const Qul::PlatformInterface::StrokeProperties &strokeProperties)

Class Path:

(since Qt Quick Ultralite (Platform) 1.8) virtual void free() = 0

Class Screen:

(since Qt Quick Ultralite (Platform) 1.8) Qul::PixelFormat colorFormat() const

New Global Functions

(since Qt Quick Ultralite (Platform) 1.8) void init8bppRendering()
(since Qt Quick Ultralite (Platform) 1.8) void pathArcToBeziers(Qul::PlatformInterface::cubicToPath func, void *data, float radiusX, float radiusY, float xAxisRotation, bool useLargeArc, bool clockwise, const Qul::PlatformInterface::PointF &source, const Qul::PlatformInterface::PointF &target)

New Enum Types

(since Qt Quick Ultralite (Platform) 1.8) enum LineCapStyle { FlatCap, RoundCap, SquareCap }
(since Qt Quick Ultralite (Platform) 1.8) enum LineJoinStyle { MiterJoin, RoundJoin, BevelJoin }
(since Qt Quick Ultralite (Platform) 1.8) enum PathOptimizationHints { PathOptimizationHints_None, PathOptimizationHints_NotSelfIntersecting, PathOptimizationHints_NoOverlappingSubPaths }
(since Qt Quick Ultralite (Platform) 1.8) enum SegmentType { CloseSegment, MoveSegment, LineSegment, QuadraticBezierSegment, CubicBezierSegment, …, PathSeparatorSegment }
(since Qt Quick Ultralite (Platform) 1.8) enum PathFillRule { PathOddEvenFill, PathWindingFill }

New Type Aliases

(since Qt Quick Ultralite (Platform) 1.8) Vector

Changes in Previous Versions

Available under certain Qt licenses.
Find out more.