Hi all, I’m sorry if my topic in the wrong forum.
I have a problem. I try to get text (answer) from remote server and write it to QLabel but my code doesn’t works. Here is it:
static QNetworkAccessManager am;
QUrl url("https://api.vk.com/method/audio.get");
url.addQueryItem("access_token","some_code");
QNetworkRequest request(url);
QNetworkReply* reply = am.get(request);
label1->setText(reply->read());
Please, help me to solve my problem, if you can
↧