[Interest] QSvgRenderer is crashing - help!
Waitman Gobble
uzimac at da3m0n8t3r.com
Fri Jun 22 10:02:05 CEST 2012
franki <franki at franki.eu.org> wrote ..
> Hi all,
>
> I have encountered an svg icon that is crashing my application, however icon
> is properly visible under any image viewer. When application is crashing it
> gives me little information about what may caused it to crash, I have prepared
> an example which does as follow:
> loads svg icon into QGraphicsSvgItem, set scale of the item, and then render
> this item on QImage as a test.png file.
> App is crashing during SvgRenderer->render(painter);
>
> Project is attached, you can simply start it in QtCreator.
> Can someone point me what can be wrong with this icon, or how to get more
> debug from QtSvg, about what causes this crash so I could improve the svg
> icon?
> I'm using Qt 4.7.3 on Linux machine.
>
> best regards
> Marek
I don't see a crash but complaints about svg file... attached screenshot
$ uname -a
FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sun Jun 10 08:10:59 PDT 2012 root@:/usr/obj/usr/src/sys/KEYSHIA amd64
tried it on
Qt 4.7.4
--
Waitman Gobble
San Jose California USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 44.png
Type: image/png
Size: 145419 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120622/fde2cf2c/attachment.png>
More information about the Interest
mailing list