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