En esta página

Qt SVG Widgets C++ Classes

Estas clases forman parte del módulo Qt SVG y proporcionan funciones de renderizado SVG para aplicaciones que utilizan widgets o elementos gráficos. Más...

Clases

QGraphicsSvgItem

QGraphicsItem que se puede utilizar para representar el contenido de los archivos SVG

QSvgWidget

Widget que se utiliza para mostrar el contenido de archivos Scalable Vector Graphics (SVG)

Descripción detallada

Creación con CMake

Utilice los comandos find_package() y target_link_libraries() para localizar y vincular el componente:

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

Construcción con qmake

Para configurarlo para qmake, añada svgwidgets a la variable 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.