Qt SVG

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

Articles

References

Qt SVG comes with the following examples: