QtSvg Namespace

The QtSvg namespace contains types used by the svg classes. More...

Header: #include <QtSvg>
CMake: find_package(Qt6 REQUIRED COMPONENTS Svg)
target_link_libraries(mytarget PRIVATE Qt6::Svg)
qmake: QT += svg

Types

(since 6.7) enum Option { NoOption, Tiny12FeaturesOnly }
flags Options

Detailed Description

Type Documentation

[since 6.7] enum QtSvg::Option
flags QtSvg::Options

This enum holds flags that can be used to enable or disable various features of the parsing and rendering of SVG files. Multiple flags can be combined into the QFlags type QtSvg::Options.

ConstantValueDescription
QtSvg::NoOption0x00The null value. This is the default for QtSvg::Options.
QtSvg::Tiny12FeaturesOnly0x01Strictly and exclusively parse only tags that are part of the SVG 1.2 Tiny Static Feature set.

This enum was introduced in Qt 6.7.

The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.