Substitute for QHttp in Qt 5.2

I wathed a video on youtube about QtNetwork. My Qt version is 5.2. Qt cannot find the QHttp header. I searched my Mac for QHttp and got nothing. What is the substitute for QHttp in Qt 5.2? Thank you!


It is in a separate module now, so you can use it from there. You would write something like this in your qmake project file:

QT += http

Please consider using QNetworkAccessManager as much as possible, however. QtFtp and QtHttp are there just for aiding the move, but people would need to use them as a last resort.

The reason is that no one maintains them actively and their solution for the use case is not ideal.

QHttp has been made private, and QNetworkAccessManager should be used instead.

Need Your Help

Twitter bootstrap layout breaks in Chrome

html css twitter-bootstrap layout responsive-design

i'm trying to create a portfolio kind of style layout, with different widths for the columns.