Qt5 Tutorial QHttp Downloading Files - 2017
In this tutorial, we will learn how to download a file using QHttp.
Note: Qt5 document
The QFtp, QUrlInfo, QHttp classes are not public anymore (QHttp has been discouraged since Qt 4.7). Use QNetworkAccessManager instead to avoid binary breaks in the future. Programs that require raw FTP/HTTP streams, can use the compatibility add-ons QtFtp and QtHttp which provides the QFtp and QHttp classes as they existed in Qt 4.
In general, this Qhttp download has been handled in the one of my C++ tutorials Sockets - Server and Client using Qt : Http Download.
However, for the tutorial using NetworkAccessManager instead of QHttp as recommended by Qt5, please visit QNetworkAccessManager/QNetworkRequest - Downloading Files.
Ph.D. / Golden Gate Ave, San Francisco / Seoul National Univ / Carnegie Mellon / UC Berkeley / DevOps / Deep Learning / Visualization