I've checked lots of examples and this code is supposed connect to google.com
Qt Code:
  1. QNetworkAccessManager * Network_Manager;
  2. Network_Manager = new QNetworkAccessManager(this);
  3. QString URL;
  4. URL = "http://www.google.com/";
  5. QNetworkRequest netRequest(QUrl(URL));
  6. Network_Manager->get(netRequest);
To copy to clipboard, switch view to plain text mode 
But I get this error when trying to compile:
Qt Code:
  1. error: no matching function for call to QNetworkAccessManager::get(QNetworkRequest (&)(QUrl))'
  2. candidates are: QNetworkReply* QNetworkAccessManager::get(const QNetworkRequest&)
To copy to clipboard, switch view to plain text mode 
I've added
#include <QNetworkAccessManager>
#include <QtNetwork>
and
QT += network in my .pro

thanks in advance...