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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.9.3
    • 5.9.1
    • None
    • Happens with all combinations macOS 10.13 beta versions and Xcode 9 beta versions.
    • macOS

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes