Qt SVG Widgets C++ Classes

これらのクラスは Qt SVGモジュールの一部であり、ウィジェットやグラフィックアイテムを使用するアプリケーションに SVG レンダリング機能を提供する。詳細...

クラス

QGraphicsSvgItem

SVG ファイルの内容をレンダリングするために使用できる QGraphicsItem

QSvgWidget

Scalable Vector Graphics (SVG) ファイルの内容を表示するために使用されるウィジェット

詳しい説明

CMakeによるビルド

find_package()target_link_libraries() コマンドを使って、コンポーネントの場所を特定し、リンクします:

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

qmakeによるビルド

qmake 用に設定するには、Qt 変数にsvgwidgets を追加してください:

QT += svgwidgets

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