Nesta página

Qt SVG Widgets C++ Classes

Essas classes fazem parte do Qt SVG módulo e oferecem recursos de renderização SVG para aplicativos que utilizam widgets ou itens gráficos. Mais...

Classes

QGraphicsSvgItem

QGraphicsItem, que pode ser usado para renderizar o conteúdo de arquivos SVG

QSvgWidget

Widget utilizado para exibir o conteúdo de arquivos Scalable Vector Graphics (SVG)

Descrição detalhada

Compilação com o CMake

Use os comandos ` find_package() ` e ` target_link_libraries() ` para localizar e vincular o componente:

find_package(Qt6 REQUIRED COMPONENTS SvgWidgets)
target_link_libraries(mytarget PRIVATE Qt6::SvgWidgets)

Compilação com o qmake

Para configurar para o qmake, adicione ` svgwidgets ` à variável ` Qt `:

QT += svgwidgets

© 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.