[Development] QHttpResponseHeader is obsolete and removed from Qt5

shane.kearns at accenture.com shane.kearns at accenture.com
Fri Jul 6 14:39:42 CEST 2012


Look at the QNetworkRequest and QNetworkReply classes, particularly the header() and rawHeader() functions of QNetworkReply
These APIs are also available in 4.6, 4.7, 4.8.
Please write your code to use this API if at all possible, since it is still getting support.

Those deprecated classes have been removed from QtNetwork and put in their own add-on modules.
QtHttp contains the obsolete http classes
QtFtp contains the obsolete ftp classes

If for some reason you need to use them, build the add-on module if necessary and then include in your qmake pro file:
QT += http
--

From: development-bounces+shane.kearns=accenture.com at qt-project.org [mailto:development-bounces+shane.kearns=accenture.com at qt-project.org] On Behalf Of Leandro Melo de Sales
Sent: 06 July 2012 05:21
To: development at qt-project.org
Subject: [Development] QHttpResponseHeader is obsolete and removed from Qt5

Hi,
  In my project I use QHttpResponseHeader that is obsolete and it isn't available in Qt5. What is the equivalent class of it in Qt5?

--
Leandro Melo de Sales
PhD candidate in Computer Science
Pervasive and Embedded Computing Laboratory, UFCG

________________________________
Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120706/8f9f5b9b/attachment.html>


More information about the Development mailing list