Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4
-
None
-
-
0fc7e18bf7a24c9408602242d51a852905dfd0da (qt/qtconnectivity/5.12)
Description
We tried to build Qt 5.12.3 against current iOS 13 (public beta). It seems the compiler do not like some stuff.
qbluetoothdevicediscoveryagent_ios.mm:135:9: error: conversion from 'QBluetoothDeviceDiscoveryAgentPrivate::LEDeviceInquiry' (aka 'ObjCScopedPointer<OSXBTLEDeviceInquiry>') to 'bool' is ambiguous if (inquiryLE) { ^~~~~~~~~ ./osx/osxbtutility_p.h:86:5: note: candidate function operator T*() const ^ /[...]/src/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:132:5: note: candidate function operator RestrictedBool() const Q_DECL_NOTHROW ^ qbluetoothdevicediscoveryagent_ios.mm:154:12: error: conversion from 'const QBluetoothDeviceDiscoveryAgentPrivate::LEDeviceInquiry' (aka 'const ObjCScopedPointer<OSXBTLEDeviceInquiry>') to 'bool' is ambiguous return inquiryLE; ^~~~~~~~~ /[...]/src/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:132:5: note: candidate function operator RestrictedBool() const Q_DECL_NOTHROW ^ ./osx/osxbtutility_p.h:86:5: note: candidate function operator T*() const ^ qbluetoothdevicediscoveryagent_ios.mm:181:9: error: conversion from 'QBluetoothDeviceDiscoveryAgentPrivate::LEDeviceInquiry' (aka 'ObjCScopedPointer<OSXBTLEDeviceInquiry>') to 'bool' is ambiguous if (inquiryLE) ^~~~~~~~~ ./osx/osxbtutility_p.h:86:5: note: candidate function operator T*() const ^ /[...]/src/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:132:5: note: candidate function operator RestrictedBool() const Q_DECL_NOTHROW ^ 3 errors generated. make[6]: *** [.obj/qbluetoothdevicediscoveryagent_ios.o] Error 1 make[6]: *** Waiting for unfinished jobs.... qlowenergycontroller_osx.mm:205:12: error: conversion from 'const QLowEnergyControllerPrivateOSX::CentralManager' (aka 'const ObjCScopedPointer<OSXBTCentralManager>') to 'bool' is ambiguous return centralManager || peripheralManager; ^~~~~~~~~~~~~~ ./osx/osxbtutility_p.h:86:5: note: candidate function operator T*() const ^ /[...]/src/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:132:5: note: candidate function operator RestrictedBool() const Q_DECL_NOTHROW ^ 1 error generated.
Attachments
For Gerrit Dashboard: QTBUG-76847 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
267021,2 | Core/IO/Bluetooth - fix ambiguous conversions | 5.12 | qt/qtconnectivity | Status: MERGED | +2 | 0 |