[Qt-interest] Problem configuring http proxy in Qt Application
Mattia Roberto
r.mattia at reply.it
Wed Jan 27 12:50:51 CET 2010
I'm developing a mobile application using Qt 4.6.0.
I would like to test this app on Symbian S60
My app needs to connect to network to perform HTTP GET operations.
Obviously when app connects, I have to consider also the case when a HTTP proxy is configured by the user on the selected access point
(for example a WAP access point needs proxy).
I'm using QNetworkAccessManager to perform http get but I have problem when a proxy is configured:
I'm able to connect only if I harcode the proxy address, username and password.
I tried to use both QNetworkProxyFactory::setUseSystemConfiguration ( true )
and QNetworkProxyFactory::systemProxyForQuery methods in the attempt to
automatically get the proxy settings but they seem to be not supported on S60 (like I can imagine reading documentation).
In fact systemProxyForQuery returns always to me NoProxy.
Do I really have to implement a S60 native C++ routine. No other possible solution in Qt?
Thanks in advance for any help.
--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
More information about the Qt-interest-old
mailing list