Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner


Generating Qt QPicture format images from SVG

The svgtopicture tool converts images in SVG format to Qt QPicture format (.pic). The rationale for converting SVG to this format is that SVG is costly to parse. The QPicture format preserves the scaleable vector image properties of SVG, but is much cheaper to parse.

The Qt Extended build process automatically converts SVG images to .pic images during installation, unless -svg-format svg is passed to configure.

Invoking svgtopicture Directly

The svgtopicture command accepts one or more input output filename pairs. For example:

    svgtopicture logo.svg logo.pic contact.svg contact.pic

Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3