Qt → Qt/C++ Tutorial 080. Downloading large files with QNetworkAccessManager
QNetworkRequest, Qt, QNetworkAccessManager, QNetworkReply
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. …
Qt → Qt/C++ - Tutorial 066. Uploading files to an FTP server
Qt, QNetworkAccessManager, FTP
To work with the network in Qt 5 , the Network module is used, and for data transmission over the network, you can actively use the QNetworkAccessManager class if you do not create your own protocol for data transfer. But …
Qt → Qt/C++ - Lesson 065. The correspondence of HTTP errors to server response errors in QNetworkAccessManager
QNetworkReply, QNetworkError, QNetworkAccessManager
In one of the lessons, I worked with QNetworkAccessManager to get the content of the page from the site via the http protocol. There was made a check for errors, but no explanation was given as to what errors might …
Qt → Qt/C++ - Lesson 041. JSON file – How to get from site and parsing it
QJsonArray, QNetworkAccessManager, JSON, QJsonObject, QJsonDocument, QJsonValue
In the process of writing programs EColor appeared a problem in which it was necessary in some way to notify the user that a new version of the program. The solution to this problem was the presence of JSON file …
Qt → Qt/C++ - Lesson 035. Downloading files via HTTP with QNetworkAccessManager
http, скачивание файла, Qt, QNetworkAccessManager
To work with a network other than using QTcpSocket or QUdpSocket classes can use QNetworkAccessManager. This class provides the functionality to send requests across a network and get answers and easy to work with the HTTP protocol.
Therefore I propose …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- Now discuss on the forum
- DTApril 14, 2025, 3:38 p.m.Всем привет! На Qt 6.8 MinGW пытаюсь сделать управление подключением WiFi из программы. Пока делаю поддержку Windows, но так же хочу в дальнейшем внедрить и поддержку Linux/MacOS. Для…
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…