Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.10.1, 5.12.6
Description
QEventLoop eventLoop; QNetworkConfigurationManager manager; QObject::connect( &manager, &QNetworkConfigurationManager::updateCompleted, &eventLoop, &QEventLoop::quit ); manager.updateConfigurations(); eventLoop.exec(); QStringList list; for( auto i : manager.allConfigurations() ) { if( QNetworkConfiguration::BearerWLAN == i.bearerType() ) list.append( i.name() ); } return list;
The returned list is always empty. Also the event loop ends immediately. But the same code works properly with Qt5.10.0 and Qt5.8.0 (in the same environment of course).
Attachments
Issue Links
- depends on
-
QTBUG-65586 Improve Bearer Plugins
- Closed