Qt Quick Vector Image QML 类型

该模块在 Qt 6.8 引入。

要使用此模块中的类型,采用以下行 import 模块:

import QtQuick.VectorImage
					

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

目前支持 SVG 文件格式。

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

QML 类型

VectorImage

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