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 ファイルを表示するための複数のオプションをサポートしています。それぞれの概要と比較については、svgtoqmlツールのドキュメントを参照してください。
QMLの種類
ベクター画像ファイルを読み込み、Qt Quick シーンに表示します。 |
© 2025 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.