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


(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.

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.

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