Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtsvg.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\module QtSvg
6
\title Qt SVG C++ Classes
7
\ingroup modules
8
\qtcmakepackage Svg
9
\qtvariable svg
10
11
\brief The Qt SVG module provides functionality for handling SVG images.
12
13
Scalable Vector Graphics (SVG) is an XML-based language for
14
describing two-dimensional vector graphics. Qt provides classes
15
for rendering and displaying SVG drawings in widgets and on other
16
paint devices. See the class descriptions for further details.
17
18
The \l{Qt SVG Widgets C++ Classes}{Qt SVG Widgets} library provides C++
19
classes for rendering SVG drawings into widget UIs.
20
21
\generatelist classesbymodule QtSvgWidgets
22
*/
23
24
/*
25
This "module" only exists so that classes in the separate library have
26
the correct build system documentation.
27
*/
28
/*!
29
\module QtSvgWidgets
30
\title Qt SVG Widgets C++ Classes
31
\qtcmakepackage SvgWidgets
32
\qtvariable svgwidgets
33
\brief These classes are part of the \l {Qt SVG} module and provide SVG
34
rendering features for applications that use widgets or graphics items.
35
36
\section1 Building with CMake
37
38
Use the \c find_package() and \c target_link_libraries() commands to locate
39
and link the component:
40
41
\badcode
42
find_package(Qt6 REQUIRED COMPONENTS SvgWidgets)
43
target_link_libraries(mytarget PRIVATE Qt6::SvgWidgets)
44
\endcode
45
46
\section1 Building with qmake
47
48
To configure for qmake, add \c svgwidgets to the \c Qt variable:
49
50
\badcode
51
QT += svgwidgets
52
\endcode
53
*/
qtsvg
src
svg
doc
src
qtsvg.qdoc
Generated on
for Qt by
1.14.0