分类: 嵌入式
2013-07-24 17:30:53
Qt提供了一个QHttp类用于构建Http客户端程序。但是最新的Qt版本已经不建议使用这些类了!这是需要注意:
QHttp no longer inherits from QNetworkProtocol. See the See the section on QNetworkProtocol for details.
The old QHttp, QHttpHeader, QHttpRequestHeader, and QHttpResponseHeader classes have been renamed Q3Http, Q3HttpHeader, Q3HttpRequestHeader, and Q3HttpResponseHeader and have been moved to the Qt3Support library.
主要就是说:
QHttp不在继承自QNetworkProtocol。以前的QHttp、QHttpHeader、QHttpRequestHeader和QHttpResponseHeader类被改名为Q3Http、Q3HttpHeader、Q3HttpRequestHeader和Q3HttpResponseHeader,并且都已经移到了Qt3Support库中。
现在编写Qt网络程序主要还是用到上几篇介绍额三个类!