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

Windows: QNetworkInterface::name() returns an empty string

    XMLWordPrintable

Details

    Description

      Windows: QNetworkInterface::name() returns an empty string. This is because it is unable to match the interface when going via QNetworkConfiguration::name().

      What happens is that when the scan occurs it does this via interfaceListingWinXP() in qnetworkinterface_win.cpp and this will get the index and the adapter name. However, the active configuration's identifier is a GUID which is coming from QNativeWifiEngine::getInterfaceFromId() so it never matches up.

      Attachments

        Activity

          People

            cnn Qt Core & Network
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: