Scalable Vector Graphics (SVG) is an XML-based language for describing two-dimensional vector graphics. Qt provides classes for rendering and displaying SVG drawings in widgets and on other paint devices.

Getting Started

Qt SVG provides classes for rendering SVG files. To include the definitions of the module's classes, use the following directive:

#include <QtSvg>

To link against the module, add this line to your qmake .pro file:

QT += svg



Qt SVG comes with the following examples:

Notes provided by the Qt Community

No notes