Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70699

Notification when internet connection is ON/OFF using QNetworkConfigurationManager not working in MAC

    XMLWordPrintable

Details

    • macOS

    Description

      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.  

       

      Attachments

        Issue Links

          Activity

            People

              tpochep Timur Pocheptsov
              shmittal Shveta Mittal (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: