C

Qt Quick Ultralite Shapes QML Types

The Qt Quick Ultralite Shapes module provides types to use vector shapes in Qt Quick Ultralite applications.

Qt Quick Ultralite renders the vector shapes by using one of these two alternatives:

Qt Quick Ultralite uses software render fallback in the following cases:

  • The supported target board doesn't have hardware-acceleration for vector graphics.
  • The supported target board has hardware-acceleration for vector graphics but it is not implemented in the reference platform adaptation.

Qt Quick Ultralite software render uses anti-aliasing by default. See QUL_SOFTWARE_RASTERIZER_FREETYPE for more information.

To use the Qt Quick Ultralite Shapes QML types, add Shapes to the list of module files in your qmlproject based project.

ModuleFiles {
    MCU.qulModules: ["Shapes"]
}

When using CMake projects, link your application to the Qul::Shapes CMake target.

target_link_libraries(app PRIVATE Qul::Shapes)

And add the following import statement to your .qml file:

import QtQuick.Shapes

Object Types

Shape

Renders a path

ShapePath

Describes a Path and the associated properties for stroking and filling

Available under certain Qt licenses.
Find out more.