In questa pagina

Qt SVG Widgets C++ Classes

Queste classi fanno parte del Qt SVG modulo e forniscono funzionalità di rendering SVG per le applicazioni che utilizzano widget o elementi grafici. Maggiori informazioni...

Classi

QGraphicsSvgItem

QGraphicsItem, utilizzabile per il rendering dei contenuti dei file SVG

QSvgWidget

Widget utilizzato per visualizzare il contenuto dei file Scalable Vector Graphics (SVG)

Descrizione dettagliata

Compilazione con CMake

Utilizzare i comandi find_package() e target_link_libraries() per individuare e collegare il componente:

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

Compilazione con qmake

Per configurare qmake, aggiungere svgwidgets alla variabile 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.