Details
-
Bug
-
Resolution: Cannot Reproduce
-
P4: Low
-
None
-
5.7.1
-
None
-
Linux embedded OS
Description
down vote favorite
I'm developing a simple application with QNetworkAccessManager, I'm able to fire http requests and receive replies but everytime I instantiate a QNetworkAccessManager object, my application starts writing on the shell a "Not supported" message. I tried compiling the sample appication http://doc.qt.io/qt-5/qtnetwork-download-example.html with the same behavior... somone has experienced the same problem? Should I instantiate the QNetworkAccessManager objecton Qt 5.7.1 using particular setting? (unfortunately I can't update to Qt 5.11) Any help would be greatly appreciated
QNetworkAccessManager *manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
QNetworkRequest *request = new QNetworkRequest(QUrl("http://www.someurl.com"));
manager->get(*request);