Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
4.8.0
-
None
-
winCE7
Description
bearerType returns 0, even if there are working connections on the device.
Problem can be seen with the following code:
#include <QtCore/QCoreApplication> #include <QNetworkConfigurationManager> #include <cstdio> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QNetworkConfigurationManager manager; printf("Starting server\n"); QNetworkConfiguration config; QList<QNetworkConfiguration> nlist = manager.allConfigurations(0); printf("count:%d\n", nlist.count()); for (int i= 0; i < nlist.count(); i++) { config = nlist[i]; QString trial = config.bearerTypeName(); printf("configuration is %s\n",trial.toAscii().constData()); printf("bearertype is %d\n",config.bearerType()); printf("state is %d\n",config.state()); printf("-----------------\n"); } return a.exec(); }