- Qt 6.10
- Qt Quick
- Qt Quick Vector Image QML Types
- Qt 6.10.2 Reference Documentation

Qt Quick Shapes ◦ Displaying Qml views in Qt Widgets

# Qt Quick Vector Image QML Types

This module was introduced in Qt 6.8.

To use the types in this module, import the module with the following line:

     import QtQuick.VectorImage

Qt Quick Vector Image provides support for displaying vector image files in a Qt Quick scene.

It currently supports the `SVG` file format. In addition, Lottie support can be enabled by setting the assumeTrustedSource property to true and including the plugin from the Qt Lottie Animation module. This plugin is currently considered tech preview.

Qt supports multiple options for displaying SVG files. For an overview and comparison of the different ones, see the documentation of the svgtoqml tool.

## QML Types

VectorImage | Loads a vector image file and displays it in a Qt Quick scene

Qt Quick Shapes ◦ Displaying Qml views in Qt Widgets