[Qt-interest] Problem configuring http proxy in Qt Application
Thiago Macieira
thiago at kde.org
Wed Jan 27 13:51:58 CET 2010
Em Quarta-feira 27 Janeiro 2010, às 12:50:51, Mattia Roberto escreveu:
> 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).
That's correct. There's no System Proxy implementation in S60 yet. The backend
wasn't written.
> In fact systemProxyForQuery returns always to me NoProxy.
Yep.
> Do I really have to implement a S60 native C++ routine. No other possible
> solution in Qt?
You can write the backend for us and submit as a merge request.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100127/82d99cc0/attachment.bin
More information about the Qt-interest-old
mailing list