0

I am populating a QVariantMap with JSON data which I'm getting from a web service. This data contains, among other things, URL for images. Now I want to use these images as ImagePaint in my qml file, but in Blackberry OS 10.1, setting the imageSource to the URL doesn't load the image.

What is the way around this problem? Thanks.

HumptyDumptyEIZ
  • 374
  • 1
  • 6
  • 18
  • You will need to download and set it on your own. [Check this](http://supportforums.blackberry.com/t5/Native-Development/Loading-image-from-URL/td-p/1717927) and [official git](https://github.com/blackberry/Cascades-Samples/tree/master/tldr) – Bojan Kogoj Dec 09 '13 at 01:22

1 Answers1

0

You can use a WebView to display your image like the following:

Webview {
    url: "link/to/your/image"
}
user25023
  • 1
  • 1