[Qt-interest] Displaying Image Resources from an URL

Sean Harmer sean.harmer at maps-technology.com
Thu Nov 5 15:31:24 CET 2009


Hi,

On Thursday 05 Nov 2009 14:08:35 Raja Rokkam wrote:
> Would it be possible for my application to display an image from a URL
> instead of image file on disk ? I should be able to change the images from
> that same location and it should be reflected everytime when my application
> starts ?

Yes. Take a look at QNetworkAccessManager and QNetworkReply:

http://doc.trolltech.com/4.6-snapshot/qnetworkaccessmanager.html
http://doc.trolltech.com/4.6-snapshot/qnetworkreply.html

You can use these to download whatever data you like from a network.

Have fun,

Sean



More information about the Qt-interest-old mailing list