[PyQt] QSvgRender - mysterious hang while loading file

Dave Fancella dave at davefancella.com
Thu Jun 14 01:24:37 BST 2007


All,

Using pyqt4 (and apparently not knowing how to get the version), Qt4.2.3, and 
python 2.4.3 under Mandriva Linux.

When I use QSvgRenderer's file loader, I get mysterious and random hangs.  
There's no correlation between the files that aren't loading and the hangs, 
meaning sometimes the file will load, and sometimes it won't.  When I open 
the file using python's open() call and read it, then pass the contents in to 
QSvgRenderer.load() as a QByteArray, it works fine.

Not sure if it's a Qt bug or not, but it appears to be.  :)  Anybody else 
encounter this?

Dave


More information about the PyQt mailing list