How to get data from a WebServer using QT
In this example, I got the currency rates from a WebServer using QtNetwork module. Such rates are used to convert from Dollar or Euro to Real (Brazilian currency) using the latest currency quotes.
First, you have to create a QNetworkAccessManager to manage the network requests and receive the network replies.
Cambio::Cambio(QWidget *parent) :
QWidget(parent)
{
[...]