Hello d_stranz,
first thanks for the reply. I was able to 'get' the link your provided, but when I read the content, I get no data (and no errors are mentioned):
void MainWindow::slotMainClock()
{
netAccMan
->get
(QNetworkRequest
(QUrl("https://www.muonline.com.br/onlines.php")));
}
void MainWindow::slotDownloadFinished(QNetworkReply* reply)
{
if (reply->error() != QNetworkReply::NoError)
{
qDebug() << "Error: " << reply->error();
return;
}
qDebug() << "Reading";
qDebug() << reply->readAll();
}
void MainWindow::slotMainClock()
{
netAccMan->get(QNetworkRequest(QUrl("https://www.muonline.com.br/onlines.php")));
}
void MainWindow::slotDownloadFinished(QNetworkReply* reply)
{
if (reply->error() != QNetworkReply::NoError)
{
qDebug() << "Error: " << reply->error();
return;
}
qDebug() << "Reading";
qDebug() << reply->readAll();
}
To copy to clipboard, switch view to plain text mode
I couldn't figure out what's happening!
Bookmarks