November 9, 2011

luisaguirre4984 luisaguirre4..
Lab Rat
3 posts

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

November 9, 2011

Eddy Eddy
Area 51 Engineer
1571 posts

Please don’t double post. You already asked this [developer.qt.nokia.com].
Thread closed

 Signature 

Moderator
Qt Certified Specialist
Nokia Qt Ambassador

 
  ‹‹ QT 4.7.4, can’t see CSS3 shadow on elements      [Qt 4.7.4] Interaction between Qt WebKit and all web pages. ››

You must log in to post a reply. Not a member yet? Register here!