We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

WebView not showing SVG images

asked 2014-08-15 18:05:47 +0200

juke gravatar image

Browser app shows SVG images just fine, but neither WebView nor SilicaWebView seem to handle them. I recently factory reseted my phone and during the course of downloading new OS versions I noticed SVG images were working at least in version 1.0.2.5.

What has happened since?

A test case is provided below:

Page {
    SilicaWebView {
        url: "http://upload.wikimedia.org/wikipedia/commons/b/b0/NewTux.svg"
        anchors.fill: parent
    }
}
edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2014-08-15 20:43:17 +0200

rainisto gravatar image

Have you installed or forgotten to install qt5-qtsvg-plugin-imageformat-svg package to your device?

edit flag offensive delete publish link more

Comments

After pkcon install qt5-qtsvg-plugin-imageformat-svg it still doesn't work. Do I need to link it or something?

juke ( 2014-08-15 23:06:18 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-08-15 18:05:47 +0200

Seen: 758 times

Last updated: Aug 15 '14