#include <QtNetwork>
#include <QUrl>
..
QUrl url = QUrl::fromEncoded("http://www.google.com/jsapi");
QNetworkRequest(url)
..
..
easy = curl_easy_init();
if(easy)
{
exit(2);
}
curl_easy_setopt(easy, CURLOPT_URL, url);
curl_easy_cleanup(easy);