summaryrefslogtreecommitdiff
path: root/sapbtpeer.h
diff options
context:
space:
mode:
Diffstat (limited to 'sapbtpeer.h')
-rw-r--r--sapbtpeer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sapbtpeer.h b/sapbtpeer.h
index cc060f8..da77f22 100644
--- a/sapbtpeer.h
+++ b/sapbtpeer.h
@@ -3,7 +3,9 @@
#include <QtCore/QObject>
-#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
+#if QT_VERSION >= QT_VERSION_CHECK(5,2,0)
+#include <QtBluetooth/QBluetoothSocket>
+#elif QT_VERSION >= QT_VERSION_CHECK(5,0,0)
#include <QtBluetooth/QBluetoothSocket>
QT_USE_NAMESPACE_BLUETOOTH
#else