summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothsocket/qbluetoothsocket.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qbluetoothsocket/qbluetoothsocket.pro')
-rw-r--r--tests/auto/qbluetoothsocket/qbluetoothsocket.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/qbluetoothsocket/qbluetoothsocket.pro b/tests/auto/qbluetoothsocket/qbluetoothsocket.pro
index 3c0f9e44..01a836fd 100644
--- a/tests/auto/qbluetoothsocket/qbluetoothsocket.pro
+++ b/tests/auto/qbluetoothsocket/qbluetoothsocket.pro
@@ -9,4 +9,10 @@ osx:QT += widgets
OTHER_FILES += \
README.txt
-DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+osx {
+ DEFINES += QT_OSX_BLUETOOTH
+} else:android:!android-no-sdk {
+ DEFINES += QT_ANDROID_BLUETOOTH
+} config_bluez:qtHaveModule(dbus) {
+ DEFINES += QT_BLUEZ_BLUETOOTH
+}