Dnia piątek, 22 czerwca 2012 o 10:02:05 Waitman Gobble napisał(a): > franki <fra...@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
Ah I see, it's the same with me... start it with gdb, so you can catch sigterm. Marek > > $ 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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest