Comment 6 for bug 1404188

Revision history for this message
Lorn Potter (lorn-potter) wrote :

QNetworkSession is part of Qt. Making isOpen use connectivity-api will not work, because the QNetworkSession state isn't necessarily a one to one relationship to the connectivity state.

QNetworkAccessManager and friends use QtBearer and the network manager backends it provides for network access.

So any Qml or Qt app that uses QNetworkAccessManager will not function correctly.

Take for example this:

QNetworkAccessManager *manager = new QNetworkAccessManager(this);
manager->get(QNetworkRequest(QUrl("http://qt-project.org")));

QNAM uses a QNetworkConfiguration internally, which in turn uses network manager via dbus.