Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.2
-
Symbian wk_09, Symbian ^3 wk_15
-
5f241ec1426447380b1e938ac7888fb16cde94f8, 5f879c55e531165cc2569b03c3796d0f33d0a0b7, 38db40d9a2db44e47b0aabd9487284cd1106b353
Description
Hi,
When i instantiated QNetworkConfigurationManager in the main thread, and called "QNetworkConfigurationManager::allConfigurations(QNetworkConfiguration::Active)" method, it's returning the active configuration successfully. But when i do the same thing in a secondary thread, then this call returns no active configurations. This is the same situation even with "QNetworkConfigurationManager::defaultConfiguration()" method. Please find the sample code below.
QList<QNetworkConfiguration> activeConfigurations = myNCM->allConfigurations(QNetworkConfiguration::Active); QNetworkConfiguration currentConfig; if (activeConfigurations.count() > 0) { qDebug()<<"activeConfiguration retrieved"; } else { qDebug()<<"activeConfiguration retrieval failed"; QNetworkConfiguration defaultConfiguration = myNCM->defaultConfiguration(); if (defaultConfiguration.isValid()) { qDebug()<<"defaultConfiguration retrieved"; } else { qDebug()<<"defaultConfiguration retrieval failed"; } }
Can you check this and give a solution for this issue.
Thanks & Regards,
BalaSubrahmanyam Varanasi
Attachments
Issue Links
- depends on
-
QTBUG-17305 QNetworkConfigurationManager crashes on QMutex access when recreating QApplication and QWebView
- Closed
- is required for
-
QTBUG-13645 Symbian: Connecting to network causes QML application framerate to drop considerably
- Closed
- replaces
-
QTBUG-18799 QNetworkProxyFactory::SystemProxyForQuery() returns QNetworkProxy::NoProxy when called from secondary thread
- Closed
- resulted in
-
QTBUG-19070 Mac OS corewlan bearer plugin fails QNetworkConfigurationManager autotests
- Closed
For Gerrit Dashboard: QTBUG-18795 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
13989,1 | bearer: run the bearer engines in their own worker thread | master | qt/qtbase | Status: MERGED | +2 | 0 |