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

Build failure on macOS 10.13 in qtconnectivity/src/bluetooth/osx

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.9.3
    • Labels:
      None
    • Environment:
      Happens with all combinations macOS 10.13 beta versions and Xcode 9 beta versions.
    • Platform/s:
      macOS

      Description

      Just like iOS 10 (and tvOS 10) deprecated CBCentralManagerState to replace it with CBManagerState, macOS 10.13 does the same. Qt 5.9.1 thus fails to build with errors in the following files:

       

      qtconnectivity/src/bluetooth/osx/osxbtcentralmanager.mm
      qtconnectivity/src/bluetooth/osx/osxbtledeviceinquiry.mm
      

      In both files, there is already code for iOS 10 and later (using QT_IOS_PLATFORM_SDK_EQUAL_OR_ABOVE(__IPHONE_10_0)) which would also need to be used on macOS 10.13.

       

        Attachments

        For Gerrit Dashboard: QTBUG-62658
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            ablasche Alex Blasche
            Reporter:
            fxcoudert FX
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes