[Qt-interest] Problem configuring http proxy in Qt Application
Wei Song
songwei1984 at gmail.com
Thu Jan 28 03:28:35 CET 2010
Hi,
Our Qt for S60 program can access the GPRS in S60 v5 mobile by calling the
S60 native api.
But it only can access the GPRS when starting the program and it can last
for some minutes.
After some minutes, it can't access the GPRS again!!!
Whether the S60 v5 mobile system automatically close the GPRS connection
when the system automatically go to park mode?
How I can access the GPRS connection when the S60 system go to park mode?
Thanks.
Wei Song
Joan Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html>
- "I, Joan Crawford, I believe in the dollar. Everything I earn, I
spend."
2010/1/27 Thiago Macieira <thiago at kde.org>
> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100128/122ba928/attachment.html
More information about the Qt-interest-old
mailing list