PDA

View Full Version : QNetworkAccessManager proxy sttings



jay
19th August 2010, 06:40
Dear all,

I have used QNetworkAccessManager to send get(URL) request to receive response from the specified URL.

It works correctly when my system is directly connected with internet.

If I connect my system to the network in which Proxy Server configuration is made, my code needs proxy details.

Is there a way to match the settings of the default browser? Do I have to let the user configure himself the proxy?

Regards,
Jay.

jay
26th August 2010, 10:39
Proxy detection is achieved using QNetworkProxyFactory::systemProxyForQuery, woks fine in Windows. On Mac, Instead of proxyList I am getting the below statement in console.
Mac system proxy: found PAC script at <PAC file>

can any one please help me how to get proxy list on Mac.

I am using Qt version 4.5.2.

Thank you.