Not sure that QtBearer is being understood.
http://doc.qt.io/qt-5/bearer-management.html

QNetworkAccessManager and friends (QNetworkRequest, etc) use bearer
management for starting and stopping connections when needed and if
allowed by the system.

QtNetwork / Bearer Management cannot be made to use connectivity-api.
connectivity-api is much too simple. There is no way to control the
interfaces and start a connection (wifi/mobile data, etc) to be made
when a network request is made and there is no existing connection.
There is no way to get list of network configurations/wifi API's, etc.

The only realistic solution I see is to either only use generic plugin
or completely compile out use of bearermanagement (QtBase configured
with —no-feature-bearermanagement)

This way, people using QNetworkAccessManager and friends (QNetworkRequest, etc) 
(if that is even allowed by apparmor, I'm not too knowledgeable about what's 
allowed and what is not) to GET and whatnot will not be depending on 
QtBearerManagement and NetworkManager dbus API.
Developers won't be mislead that they will have a fully working bearer (generic 
plugin has many issues in regards to a fully working bearer).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1404188

Title:
  QNetworkSession::isOpen() always returns false

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1404188/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to