Hi all!

I have almost become a nervous wreck already because of this thing:

Qt Code:
  1. #include <QtCore/QCoreApplication>
  2. #include <QtNetwork>
  3.  
  4. int main(int argc, char *argv[])
  5. {
  6. QCoreApplication a(argc, argv);
  7.  
  8. QNetworkAccessManager manager;
  9. QNetworkRequest request(QUrl("http://www.google.hu"));
  10.  
  11. QNetworkReply *reply = manager.get(request);
  12.  
  13. qDebug() << reply->errorString();
  14. return a.exec();
  15. }
To copy to clipboard, switch view to plain text mode 

It's that simple. And it doesn't work. It says: "Unknown error".

Bad code? Bad proxy settings? What? Nokia's HTTP example works fine.