After the question appeared on the forum about downloading large files using the Qt library, I raised some of my projects and prepared a more detailed manual using this functionality. Moreover, the problem with downloading files was related to redirects. By default, QNetworkAccessManager does not switch to redirects for downloading files and retrieving pages, so you need to set the appropriate attribute in the request, then everything will work, but let's take a closer look.
The application will have the following functionality.
QLineEdit for entering the destination URL for downloading
QLineEdit to enter the target directory for download in readOnly mode. We will fill it with QFileDialog.
QProgressBar, which will show the progress of the download
Button to cancel download
Look our downloader will be so