You might want to take a look at http://curl.haxx.se/docs/libs.html to see what dependencies cURL has.

In order to use output from curl to something useful such as a QString:
Qt Code:
  1. QString stuffFromcURL;
  2.  
  3. struct MemoryStruct chunk;
  4. chunk.memory=NULL;
  5. chunk.size = 0;
  6. //.... setting options and other stuff
  7. curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk);
  8. //.... setting more optons
  9. //exec curl
  10. curl_easy_perform(curl_handle);
  11. stuffFromcURL = QString::fromUtf8 (chunk.memory);
To copy to clipboard, switch view to plain text mode