[Interest] [External] [SVG] QML Image: Error decoding

Oleg Evseev ev.mipt at gmail.com
Tue Jul 17 10:58:50 CEST 2018


Yes, I tried add QTPLUGIN += qsvg it doesn't help.
And by the way according to .pro file of accelbubble example this manual
plugin loading needed with older Qt and commented there.

2018-07-17 11:30 GMT+03:00 Kristoffersen, Even (NO14) <
Even.Kristoffersen at honeywell.com>:

> Do you have QT_PLUGIN += qsvg in your .pro file as well?
>
>
>
> -Even
>
>
>
> *From:* Interest [mailto:interest-bounces+even.kristoffersen=
> honeywell.com at qt-project.org] *On Behalf Of *Oleg Evseev
> *Sent:* 16. juli 2018 17:56
> *To:* Qt Project <interest at qt-project.org>
> *Subject:* [External] [Interest] [SVG] QML Image: Error decoding
>
>
>
> Hi!
>
>
>
> Got error:
>
> QML Image: Error decoding: qrc:/images/Bluebubble.svg: ????????????????
> ?????? ???????????
>
>
>
> for such reduced code in my big project:
>
>
>
> ApplicationWindow {
>
>     id: *application*
>
>     width: 1280
>
>     height: 800
>     visible: true
>
>
>
>     Image {
>
>         source: "qrc:/images/Bluebubble.svg"
>
>     }
> }
>
>
>
> But accelbubble example with in fact the same code decodes and renders svg
> fine!
>
>
>
> I do not understand the difference. I do have QT += svg xml in my .pro
> file, also just in case, I tried to add same modules from my project to
> .pro of accelbubble example and same imports to qml - it still runs fine.
>
> Tried different svg files with different formats - same result.
> accelbubble render any file, my project - none.
>
> It blows my mind.
>
>
>
> Thanks in advance for any help.
>
>
>
> --
>
> With regards, Oleg.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180717/fb319fce/attachment.html>


More information about the Interest mailing list