Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# QtSvg Module

The QtSvg module provides classes for displaying and creating SVG files. More...

This documentation was introduced in Qt 4.1.

## Classes

QGraphicsSvgItem | QGraphicsItem that can be used to render the contents of SVG files
QSvgGenerator | Paint device that is used to create SVG drawings
QSvgRenderer | Used to draw the contents of SVG files onto paint devices
QSvgWidget | Widget that is used to display the contents of Scalable Vector Graphics (SVG) files

## Detailed Description

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

## License Information

Some code for arc handling in this module is derived from code with the following license:

Copyright 2002 USC/Information Sciences Institute

Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Information Sciences Institute not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Information Sciences Institute makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

INFORMATION SCIENCES INSTITUTE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL INFORMATION SCIENCES INSTITUTE BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.