diff options
Diffstat (limited to 'src/bluetooth/bluetooth.pro')
-rw-r--r-- | src/bluetooth/bluetooth.pro | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/bluetooth/bluetooth.pro b/src/bluetooth/bluetooth.pro index b6783425..9cec0a3d 100644 --- a/src/bluetooth/bluetooth.pro +++ b/src/bluetooth/bluetooth.pro @@ -177,13 +177,16 @@ config_bluez:qtHaveModule(dbus) { SOURCES -= qlowenergycontroller.cpp SOURCES -= qlowenergycontroller_p.cpp } else:ios { - message("iOS is currently an unsupported Bluetooth platform, WIP.") - DEFINES += QT_IOS_BLUETOOTH LIBS += -framework Foundation -framework CoreBluetooth OBJECTIVE_SOURCES += \ - qbluetoothdevicediscoveryagent_ios.mm + qbluetoothdevicediscoveryagent_ios.mm \ + qlowenergycontroller_osx.mm \ + qlowenergyservice_osx.mm + + PRIVATE_HEADERS += \ + qlowenergycontroller_osx_p.h include(osx/osxbt.pri) SOURCES += \ @@ -196,6 +199,9 @@ config_bluez:qtHaveModule(dbus) { qlowenergycontroller_p.cpp SOURCES -= qbluetoothdevicediscoveryagent.cpp + SOURCES -= qlowenergycontroller_p.cpp + SOURCES -= qlowenergyservice.cpp + SOURCES -= qlowenergycontroller.cpp } else { message("Unsupported Bluetooth platform, will not build a working QtBluetooth library.") message("Either no Qt D-Bus found or no BlueZ headers.") |