このページの内容

Qt Quick Vector Image QML Types

このモジュールは Qt 6.8 で導入されました。

このモジュールの型を使用するには、次の行でモジュールをインポートしてください:

import QtQuick.VectorImage

Qt Quick Vector Imageは、Qt Quick シーン内でベクター画像ファイルを表示するためのサポートを提供します。

現在、SVG ファイル形式に対応しています。さらに、assumeTrustedSource プロパティをtrueに設定し、 Qt Lottie Animation モジュールからプラグインを組み込むことで有効にできます。

Qt SVGは、SVGファイルを表示するための複数のオプションをサポートしています。それぞれの概要と比較については、svgtoqmlツールのドキュメントを参照してください。

QML タイプ

VectorImage

ベクター画像ファイルを読み込み、Qt Quick シーンに表示します

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.