Qt SVG Widgets C++ Classes
Diese Klassen sind Teil des Qt SVG Moduls und bieten SVG-Rendering-Funktionen für Anwendungen, die Widgets oder Grafikelemente verwenden. Mehr...
Klassen
QGraphicsItem, mit dem der Inhalt von SVG-Dateien gerendert werden kann | |
Widget, das zur Anzeige des Inhalts von Scalable Vector Graphics (SVG)-Dateien verwendet wird |
Ausführliche Beschreibung
Erstellen mit CMake
Verwenden Sie die Befehle „ find_package() “ und „ target_link_libraries() “, um die Komponente zu finden und einzubinden:
find_package(Qt6 REQUIRED COMPONENTS SvgWidgets)
target_link_libraries(mytarget PRIVATE Qt6::SvgWidgets)Erstellen mit qmake
Um die Konfiguration für qmake vorzunehmen, fügen Sie „ svgwidgets “ zur Variablen „ Qt “ hinzu:
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.