Notification when internet connection is ON/OFF using QNetworkConfigurationManager not working in MAC.
I have tried by building Bearer plugin and corewlan plugin also, but no effect.
Steps to reproduce:
Execute the attached sample.
Turn off device internet,
The user should get notified about changes in onlinestatus, but it is always shown as online even if system is not connected to a network.
Even when system is not connected to any network,
mgr.allConfigurations(QNetworkConfiguration::Active) count is still returned as 1
Note: this sample is working fine with Windows. Problem only seen in MAC.
QTBUG-65586 Improve Bearer Plugins