I want to pull data from url
WikiPiti3131 last edited by WikiPiti3131
QString control = "http://website.com/control.php?fffun=ddd"; QNetworkAccessManager LManager2; QNetworkReply *reply2 = LManager2.get(QNetworkRequest(QUrl(control))); QEventLoop event2; connect(reply2,SIGNAL(finished()),&event2,SLOT(quit())); event2.exec(); QString controlwrite = reply2->readAll(); ui->textEdit->setText(controlwrite);
@WikiPiti3131 What is the problem/question? I can't access your links.
Also you should connect https://doc.qt.io/qt-5/qnetworkreply.html#error-1, https://doc.qt.io/qt-5/qnetworkreply.html#sslErrors and https://doc.qt.io/qt-5/qnetworkaccessmanager.html#authenticationRequired to slots and see whether you get any errors or authentication is required.