Sorry. I was too quick, here. The svg is apparently not used directly by the example. Looks like you found a report-worthy bug.
PS: And sorry for the top-quote. ________________________________________ From: development-bounces+alessandro.portale=nokia....@qt-project.org [development-bounces+alessandro.portale=nokia....@qt-project.org] on behalf of Portale Alessandro (Nokia-MP/Berlin) Sent: Tuesday, April 10, 2012 17:10 To: daniel.kreute...@googlemail.com; development@qt-project.org Subject: Re: [Development] QML and SVG = unsupported image format This really looks like a bug to me. And according to the official QML examples, BorderImage should support svg images. See: http://doc.qt.nokia.com/main-snapshot/declarative-imageelements-borderimage.html Could you test whether that example works in your setup? ________________________________________ From: development-bounces+alessandro.portale=nokia....@qt-project.org [development-bounces+alessandro.portale=nokia....@qt-project.org] on behalf of ext Daniel Kreuter [daniel.kreute...@googlemail.com] Sent: Tuesday, April 10, 2012 16:14 To: development@qt-project.org Subject: Re: [Development] QML and SVG = unsupported image format Ok I found a solution. Instead of BorderImage I only used Image, and now he is able to load SVG Images. Maybe this is a bug? Or is it a feature??? On Tue, Apr 10, 2012 at 9:10 AM, Daniel Kreuter <daniel.kreute...@googlemail.com> wrote: > Hello there, > > I have a strange behavior. When I start my program out of Qt Creator, > all Images are visible. Starting it from the Windows Explorer the SVG > Images are missing. > On my development computer it works in Qt Creator, but on the target > computer when I start my program out of Qt Creator, I get the message > that the svg images are unsupported. > > How can I get this format working? > > I tried adding the following to my .pro file: > QT += svg > QT_PLUGIN += qsvg > > but nothing worked. > > the libsvg4.dll in the plugins dir of Qt are there. Do I need to set > some environment variables targeting to the Qt plugins dir? > > > > -- > Mit freundlichen Grüßen > > Greetings > > Daniel Kreuter -- Mit freundlichen Grüßen Greetings Daniel Kreuter _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development