[Qt-interest] adding HTTP Proxy support
Thiago Macieira
thiago.macieira at trolltech.com
Thu Jul 2 08:55:16 CEST 2009
Paul Miller wrote:
>Apparently you can't do this:
>
>QNetworkProxy proxy;
>proxy.setType(QNetworkProxy::HttpProxy);
>
>You have to do this:
>
>QNetworkProxy proxy(QNetworkProxy::HttpProxy);
>
>I have no idea why - or why there is a setType() method then.
This defect was fixed in 4.5.2.
QNetworkProxy only calculated the default proxy capabilities on
construction, not on setType.
http://qt.gitorious.org/qt/qt/commit/03b29811a3a6eb34421c476d829075505aa42ada
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090702/19ddc7f2/attachment.bin
More information about the Qt-interest-old
mailing list