diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2021-11-08 14:01:23 +0200 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@insta.fi> | 2021-11-18 08:10:28 +0200 |
commit | 11c69dc369793886ee31de82fa43fee64f1be91c (patch) | |
tree | 88b9bb89609d42591eaf7886391a2bd146ab2b1b /examples/bluetooth/lowenergyscanner | |
parent | bd1671ac91afafcd446e305cdb303838937eb332 (diff) |
macOS specific Info.plist file for Bluetooth Examples
The default-generated Info.plist is not enough on macOS 12 Monterey
as the Bluetooth examples require NSBluetoothAlwaysUsageDescription key
to work properly.
Note that the plist files are only effective if the application is
started as an app bundle, ie. not if launching the contained binary
directly.
Task-number: QTBUG-98090
Change-Id: Iedb7eabbb8fde6ad1ba14ada1a7ee87ec1d708ba
(cherry picked from commit 70d590a81cae3c122c68bcb4521f21771cf02d40)
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/lowenergyscanner.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bluetooth/lowenergyscanner/lowenergyscanner.pro b/examples/bluetooth/lowenergyscanner/lowenergyscanner.pro index 934f6cfa..31b243ac 100644 --- a/examples/bluetooth/lowenergyscanner/lowenergyscanner.pro +++ b/examples/bluetooth/lowenergyscanner/lowenergyscanner.pro @@ -11,6 +11,7 @@ SOURCES += main.cpp \ characteristicinfo.cpp ios: QMAKE_INFO_PLIST = Info.plist +macos: QMAKE_INFO_PLIST = ../shared/Info.qmake.macos.plist OTHER_FILES += assets/*.qml |