diff options
Diffstat (limited to 'src/bluetooth/qbluetoothsocket.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothsocket.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket.cpp b/src/bluetooth/qbluetoothsocket.cpp index 1b187f4f..d59b2adb 100644 --- a/src/bluetooth/qbluetoothsocket.cpp +++ b/src/bluetooth/qbluetoothsocket.cpp @@ -41,6 +41,8 @@ #include "qbluetoothsocket.h" #if QT_CONFIG(bluez) #include "qbluetoothsocket_bluez_p.h" +#elif defined(QT_ANDROID_BLUETOOTH) +#include "qbluetoothsocket_android_p.h" #else #include "qbluetoothsocket_p.h" #endif @@ -258,6 +260,8 @@ QBluetoothSocket::QBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, Q { #if QT_CONFIG(bluez) d_ptr = new QBluetoothSocketPrivateBluez(); +#elif defined(QT_ANDROID_BLUETOOTH) + d_ptr = new QBluetoothSocketPrivateAndroid(); #else d_ptr = new QBluetoothSocketPrivate(); #endif @@ -277,6 +281,8 @@ QBluetoothSocket::QBluetoothSocket(QObject *parent) { #if QT_CONFIG(bluez) d_ptr = new QBluetoothSocketPrivateBluez(); +#elif defined(QT_ANDROID_BLUETOOTH) + d_ptr = new QBluetoothSocketPrivateAndroid(); #else d_ptr = new QBluetoothSocketPrivate(); #endif |