Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.6
-
None
Description
I'm testing QT bluetooth example on Mac 12 beta. I found Qt bluetooth can not scan device . it works well on Mac 11.
the root cause is function scan device
[manager scanForPeripheralsWithServices:nil options:nil];
If change by this code. app can scan bluetooth device
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], CBCentralManagerScanOptionAllowDuplicatesKey, nil]; [self.CM scanForPeripheralsWithServices:nil options:options];
I'm not sure this is a bug or new feature on Mac 12.
Attachments
For Gerrit Dashboard: QTBUG-96557 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
380553,14 | Bluetooth (Darwin): bail out early, if Info.plist is missing | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
381842,2 | Bluetooth (Darwin): bail out early, if Info.plist is missing | 6.2 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
381888,5 | Bluetooth (Darwin): bail out early, if Info.plist is missing | tqtc/lts-5.15 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |