diff options
author | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-05-20 11:37:12 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-05-23 05:48:58 +0000 |
commit | 20ab809d4ad00f480e448d64e1890c8856871044 (patch) | |
tree | c8b70f9fcaecff434444fbfd40ba6c38165d0aa9 /src/bluetooth/osx | |
parent | 2d98ac01e74dc53d9fd42668e3757ca806af9556 (diff) |
QtBluetooth (BTLE) - fix build on tvOS
CoreBluetooth for tvOS does not support peripheral role.
Change-Id: I82e7a61abfd907ea53faf33264951727f3cbe5a2
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/osx')
-rw-r--r-- | src/bluetooth/osx/osxbt.pri | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/bluetooth/osx/osxbt.pri b/src/bluetooth/osx/osxbt.pri index fc0a5a65..8d5486f4 100644 --- a/src/bluetooth/osx/osxbt.pri +++ b/src/bluetooth/osx/osxbt.pri @@ -39,11 +39,15 @@ CONFIG(osx) { osx/osxbtledeviceinquiry_p.h \ osx/corebluetoothwrapper_p.h \ osx/osxbtcentralmanager_p.h \ - osx/osxbtnotifier_p.h \ - osx/osxbtperipheralmanager_p.h + osx/osxbtnotifier_p.h + ios { + PRIVATE_HEADERS += osx/osxbtperipheralmanager_p.h + } OBJECTIVE_SOURCES += osx/osxbtutility.mm \ osx/osxbtledeviceinquiry.mm \ - osx/osxbtcentralmanager.mm \ - osx/osxbtperipheralmanager.mm + osx/osxbtcentralmanager.mm + ios { + OBJECTIVE_SOURCES += osx/osxbtperipheralmanager.mm + } } |