Qt Quick Vector Image QML Types
Este módulo foi introduzido no Qt 6.8.
Para usar os tipos deste módulo, importe-o com a seguinte linha:
import QtQuick.VectorImageQt Quick O Vector Image oferece suporte para exibir arquivos de imagem vetorial em uma cena do Qt Quick.
Atualmente, ele oferece suporte ao formato de arquivo SVG. Além disso, o suporte ao Lottie pode ser ativado definindo a propriedade assumeTrustedSource como true e incluindo o plug-in do Qt Lottie Animation módulo.
O Qt oferece várias opções para exibir arquivos SVG. Para uma visão geral e comparação das diferentes opções, consulte a documentação da ferramenta svgtoqml.
Tipos QML
Carrega um arquivo de imagem vetorial e o exibe em uma cena 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.