proxy client accesing to web
Hello, I am tring to connect at the web through at proxy, and I could not, the code is here:
QNetworkProxy pr;
QNetworkAccessManager acc;
pr.setUser(“laguirre@ivisa.com.ar”);
pr.setPassword(“luis”);
pr.setHostName(“baisa.ivisa.com.ar”);
pr.setPort(8080);
pr.setType(QNetworkProxy::ProxyType::HttpProxy);
QNetworkAccessManager acc;
acc.setProxy(pr);
QnetworkReply reply=acc.get(QNetworkRequest(“http://googel.com.ar));
connect(reply, SIGNAL),this, SLOT));
connect(reply, SIGNAL),this, SLOT));
connect(reply,SIGNAL),
this,SLOT));
the problem is that the program leave asleep when call yo acc.get, what am I doing bad?
Help please.
regards and thanks, Luis.
1 reply
Please don’t double post. You already asked this [developer.qt.nokia.com].
Thread closed
You must log in to post a reply. Not a member yet? Register here!


