Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2007
How to add http/socks proxy support in QT?


Message 1 in thread

HI,all

I need http/socks proxy support in my QT/KDE apps, so does QT
providers any proxy libs?
Or is there any libs provider http/socks proxy functions under
Linux/Unix environments?
Thanks


-- 
 [ signature omitted ] 

Message 2 in thread

Hi,

> I need http/socks proxy support in my QT/KDE apps, so does QT
> providers any proxy libs?

If I understand correctly, you're after QNetworkProxy:
	http://doc.trolltech.com/4.3/qnetworkproxy.html

--
 [ signature omitted ] 

Message 3 in thread

jiang jefix wrote:
>HI,all
>
>I need http/socks proxy support in my QT/KDE apps, so does QT
>providers any proxy libs?
>Or is there any libs provider http/socks proxy functions under
>Linux/Unix environments?

For Qt 3, no, there's no proxy support.

For KDE 3, SOCKS5 support is internal and automatic. It's also global, so 
you don't have to configure anything (in fact, you even can't).

For Qt 4, you have QNetworkProxy.

For KDE 4, again, it's internal. Do not configure manually, because proxy 
configuration is a user configuration. You, as the application author, 
don't know what proxies the user should use. But note that KDE 4.0 has 
the global proxy option disabled because I have not had the time to 
finish writing it -- only kio_http has proxies.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 4 in thread

Qt 3.3.8
I want to provider proxy function independent in the application.
Then is there any third-party libs provider proxy function?
For example, libz providers zip compress/uncompress.
If not,how can I write http/socks proxy functions ?Any manuals?

Thanks.


2007/11/3, Thiago Macieira <thiago.macieira@xxxxxxxxxxxxx>:
> jiang jefix wrote:
> >HI,all
> >
> >I need http/socks proxy support in my QT/KDE apps, so does QT
> >providers any proxy libs?
> >Or is there any libs provider http/socks proxy functions under
> >Linux/Unix environments?
>
> For Qt 3, no, there's no proxy support.
>
> For KDE 3, SOCKS5 support is internal and automatic. It's also global, so
> you don't have to configure anything (in fact, you even can't).
>
> For Qt 4, you have QNetworkProxy.
>
> For KDE 4, again, it's internal. Do not configure manually, because proxy
> configuration is a user configuration. You, as the application author,
> don't know what proxies the user should use. But note that KDE 4.0 has
> the global proxy option disabled because I have not had the time to
> finish writing it -- only kio_http has proxies.
>
> --
> Thiago José Macieira - thiago.macieira AT trolltech.com
> Trolltech ASA - Sandakerveien 116, NO-0402 Oslo, Norway
>
>


-- 
 [ signature omitted ]