Hi mgoetz:
I read the article you remended,then I tried ,but still failed,I dont know why,here is the codes,can you kindly give me some suggestions or solutions for proxy(password + username) writted with QNetworkAccessManager?
Thx a lot!
here is the code:
[
QNetworkAccessManager* qnam = new QNetworkAccessManager(this);

connect(qnam, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)), this,
SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)));

QNetworkProxy proxy;
proxy.setType(QNetworkProxy::HttpProxy);
proxy.setHostName(pProxyInfo->qstrProxyServerName);
proxy.setPort(pProxyInfo->qstrProxyPort.toInt());
proxy.setUser(pProxyInfo->qstrProxyUserName);
proxy.setPassword(pProxyInfo->qstrProxyPassWord);

qnam->setProxy(proxy);