[Qt-interest] qsvg

qt at tonyobryan.com qt at tonyobryan.com
Thu Feb 12 02:19:40 CET 2009


I'm trying to use the QSvg classes, but can't figure out an easy to way to 
accomplish what I'm after.  I'm making a card game using KDE's card decks, 
which are compressed SVG files.  For simplicity, I'm decompressing the card 
deck ahead of time, so I just have the plain XML files to load.

I can load the entire file into a single widget, but I can't see an easy way to 
isolate individual cards.  It seems that Qt's SVG support is all or nothing, 
and that it doesn't have a way to display just one image from a multi-image 
SVG file.

Am I missing something?  Does Qt provide a way for me to selectively render 
arbitrary images from an SVG file that contains multiple images?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090211/84f7bd4c/attachment.html 


More information about the Qt-interest-old mailing list