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

    • Platform/s:
      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes