Okay, I think I figured out what I was doing wrong: I have a few paths in
my PATH environment variable that have qt libraries in them. It appears to
me that PySide uses the first qt library found in my PATH for at least the
svg rendering. When I don't include any qt libraries in my path, my
application doesn't show the svg image, but gif images do appear. When I
place the path of a qt library that matches the PySide version (qt lib
4.7.4 for PySide 1.10) at the beginning of the PATH environment variable,
the svg image appears correctly. The PySide-provided qt library
("C:\Python27\Lib\site-packages\PySide" for me) or the path of a different
install of the same version qt library
"C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\bin" work.

On Tue, Jan 24, 2012 at 12:02 AM, Roman Lacko <[email protected]>wrote:

> Hi,
> PySide ships with all imageformats from official Qt installer from Nokia.
> The SVG plugin is here PySide\plugins\imageformats\qsvg4.dll.
> Can You send me what library is missing from PySide distribution ?
>
> Regards
> -Roman
>
>
> 2012/1/23 Adam Featherstone <[email protected]>:
> > If I understand correctly, the qt library that ships with the pyside
> > installer (1.04, 1.10 are the two I've tried) does not include the svg
> > imageformats plugin. Is my best option to compile pyside?
> >
> > Regards,
> > Adam
> >
> >
> > _______________________________________________
> > PySide mailing list
> > [email protected]
> > http://lists.pyside.org/listinfo/pyside
> >
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to