summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/osx
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-09-01 13:26:30 -0700
committerJake Petroules <jake.petroules@qt.io>2017-09-04 09:52:20 +0000
commitf554300e1f2b69c77e7bbb5054231c2fc5c78928 (patch)
tree7f91abbdb39c82af4704960a1c6de785e6e92c46 /src/bluetooth/osx
parenteea38b6cfa7b0723f5b89b1d0a4b6cedddc6df12 (diff)
Simplify system frameworks includes
The previous version was doing exactly this, but in a far more complicated manner. Change-Id: Ia8f6a418a7fc6eab03207ced099288b8d4e5f3a7 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/bluetooth/osx')
-rw-r--r--src/bluetooth/osx/osxbluetooth_p.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/bluetooth/osx/osxbluetooth_p.h b/src/bluetooth/osx/osxbluetooth_p.h
index 1c6ac761..ea1b388f 100644
--- a/src/bluetooth/osx/osxbluetooth_p.h
+++ b/src/bluetooth/osx/osxbluetooth_p.h
@@ -54,23 +54,10 @@
#include <QtCore/qglobal.h>
-#ifndef QT_OSX_BLUETOOTH
-
-#include <CoreBluetooth/CoreBluetooth.h>
-
-#else
-
-#if QT_OSX_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12)
-
#include <CoreBluetooth/CoreBluetooth.h>
-#include <IOBluetooth/IOBluetooth.h>
-#else
-
-// In SDK below 10.12 IOBluetooth.h includes CoreBluetooth.h.
+#ifdef Q_OS_MACOS
#include <IOBluetooth/IOBluetooth.h>
+#endif
-#endif // SDK
-
-#endif // QT_OSX_BLUETOOTH
#endif // OSXBLUETOOTH_P_H