QNetworkAccessManager and QHttp doesn't sends anything

Posted by serge on Stack Overflow See other posts from Stack Overflow or by serge
Published on 2010-05-29T11:37:04Z Indexed on 2010/05/29 11:42 UTC
Read the original article Hit count: 425

Filed under:

Hi everyone,

i wrote some app and trying with a help of QNetworkAccessManager send some data to server using POST request, however nothing happen at all. I tried to use QHttp and the same result. I have checked it with WireShark - none requests in the list from my program. I tried to send GET request and the same - none requests. I created project with Network libs, got example from help:

manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)),
    this, SLOT(requesReply(QNetworkReply*)));

QNetworkRequest req;
req.setUrl(QUrl("http://server.net/upload"));
manager->get(req);

Please help me to find what i'm missing.

Thanks in advance

© Stack Overflow or respective owner

Related posts about qnetworkaccessmanager