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

QNetworkInterface::type() doesn't always return the correct interface type on macOS 10.14.5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.13.0 Beta4
    • Fix Version/s: 5.13
    • Component/s: Network
    • Labels:
      None
    • Commits:
      375f56506089f98118aa1848ed9f05a35e212c90

      Description

      It seems like Apple has changed something in the network infrastructure. Code compiled with Qt 5.13.0 Beta4 works correctly in 10.14.2 and reports the correct interface type for all network interfaces.

      When the networkinterfaces is retrieved for the first time the type is correct and shows e.g. Wifi or Ethernet. The second time the same interfaces are of type "unkown"

      Attached an small example which retrieves the networkinterfaces and prints them with their type in two for loops

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              heimrich Karsten Heimrich
              Reporter:
              gagi Dominik Holland
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes