• Qt SVG Widgets C++ 類

    這些類屬於 Qt SVG module and provide SVG rendering features for applications that use widgets or graphics items. 更多...

    類

    QGraphicsSvgItem

    用於渲染 SVG 文件內容的 QGraphicsItem

    QSvgWidget

    用於顯示 SVG (可伸縮嚮量圖形) 文件內容的 Widget

    詳細描述

    構建采用 CMake

    使用 find_package() and target_link_libraries() commands to locate and link the component:

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

    采用 qmake 構建

    To configure for qmake, add svgwidgets 到 Qt 變量:

    QT += svgwidgets
    			

    內容

    1. 名稱空間

    2. 類

    3. 詳細描述

    4. 構建采用 CMake

    5. 采用 qmake 構建