DrLazer
DrLazer

Reputation: 3113

Download from a URL with C++

I'm playing around with C++ for the first time in years. Making an app using Qt, with the Qt IDE. I want to make an app to integrate with the Flickr API. I've got to the point where i need to make a call to a URL.

Flickr API:

http://flickr.com/services/rest/?method=flickr.people.getInfo&api_key=987654321&auth_token=9765984&api_sig=8f3870be274f6c49b3e31a0c6728957f

Right then ..... I'm used to .NET so this would normally be easy. Is there something built into Qt to allow me to do this or do i need a C++ web API. If I do need an API can you recommend one that would do the job.

Kind Regards

Upvotes: 2

Views: 688

Answers (2)

Dave LeJeune
Dave LeJeune

Reputation: 407

we do use Qt but ended up using the cURLpp C++ wrapper for libCURL (http://curlpp.org/) for a similar project.

Upvotes: 1

Stefan Monov
Stefan Monov

Reputation: 11732

Use QNetworkAccessManager. The page has an example.

Upvotes: 2

Related Questions