Game Programming using Qt 5 Beginner's Guide - Second Edition
by Pavel Strakhov, Witold Wysota, Lorenz Haas
Summary
In the first part of this chapter, you familiarized yourself with QNetworkAccessManager. This class is at the heart of your code whenever you want to download or upload files to the internet. After having gone through the different signals that you can use to fetch errors, to get notified about new data or to show the progress, you should now know everything you need on that topic.
The example about the Distance Matrix API depended on your knowledge of QNetworkAccessManager, and it shows you a real-life application case for it. Dealing with JSON as the server's reply format was a summary of Chapter 4, Qt Core Essentials, but it was highly needed since Facebook and Twitter only use JSON to format their network replies.
In the last ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access