diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2019-08-20 11:17:20 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2019-08-20 17:36:40 +0200 |
commit | a309d04fa1edb3fa320d420758b3967616ad792a (patch) | |
tree | 3199ada0ea620ce5ef283ee68ea4643b904af649 /src/bluetooth/bluetooth.pro | |
parent | ccc1544f5ff929f466df8c790a4e7595e177a720 (diff) | |
parent | 603074d4895a9802478a7ec1e9173b70e0723bc5 (diff) |
Merge "Merge branch 'wip/win' into dev"
Diffstat (limited to 'src/bluetooth/bluetooth.pro')
-rw-r--r-- | src/bluetooth/bluetooth.pro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bluetooth/bluetooth.pro b/src/bluetooth/bluetooth.pro index 4e7088aa..e1e4d7a2 100644 --- a/src/bluetooth/bluetooth.pro +++ b/src/bluetooth/bluetooth.pro @@ -225,6 +225,24 @@ qtConfig(bluez) { DEFINES += QT_WINRT_LIMITED_SERVICEDISCOVERY DEFINES += QT_UCRTVERSION=$$WINDOWS_SDK_VERSION } +} else:win32 { + QT_PRIVATE = concurrent + DEFINES += QT_WIN_BLUETOOTH + LIBS += -lbthprops -lws2_32 -lsetupapi + + include(windows/windows.pri) + + SOURCES += \ + qbluetoothdevicediscoveryagent_win.cpp \ + qbluetoothlocaldevice_win.cpp \ + qbluetoothserviceinfo_win.cpp \ + qbluetoothservicediscoveryagent_win.cpp \ + qbluetoothsocket_win.cpp \ + qbluetoothserver_win.cpp \ + qlowenergycontroller_win.cpp + + PRIVATE_HEADERS += qlowenergycontroller_win_p.h \ + qbluetoothsocket_win_p.h } else { message("Unsupported Bluetooth platform, will not build a working QtBluetooth library.") message("Either no Qt D-Bus found or no BlueZ headers available.") |