Am 13.09.12 20:19 schrieb(en) Oliver Eichler:
the proxy stuff is a mess. As I do not have such a setup, I wait for a patch that fixes all proxy problems. I wait for a long time already :)
Just a dumb question - wouldn't it be sufficient to just add the user name and
password to the call of
QNetworkProxy::setApplicationProxy(QNetworkProxy(QNetworkProxy::HttpProxy,m_httpProxy,m_httpProxyPort));
in CResources::CResources()?
I also do not have a proxy w/ authentication, but 'solitone': might you want to try
if the hardcoded user/passwd values in the sources (for testing) solve the issue for
you (see <http://doc.qt.nokia.com/4.6/qnetworkproxy.html#QNetworkProxy-2> for
the doc of the call)?
Adding two more config elements and optionally tweaking
CResources::getHttpProxy() to pick up the authentication tokens from the
environment (although the latter is not a good idea from the security pov)
should then be trivial...
Just my € 0.01,
Cheers,
Albrecht.
pgpTww0cphPr1.pgp
Description: PGP signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
