diff --git a/src/bluetooth/osx/osxbtcentralmanager.mm b/src/bluetooth/osx/osxbtcentralmanager.mm index 2f881f794a61f9f1c9e8c20da7bc0375902c7bb6..f96da5c62b1033587494024aea936c2eeee11f1d 100644 --- a/src/bluetooth/osx/osxbtcentralmanager.mm +++ b/src/bluetooth/osx/osxbtcentralmanager.mm @@ -43,12 +43,12 @@ #include <algorithm> #include <limits> -QT_BEGIN_NAMESPACE - Q_DECLARE_METATYPE(QLowEnergyCharacteristic) Q_DECLARE_METATYPE(QLowEnergyDescriptor) Q_DECLARE_METATYPE(QLowEnergyHandle) +QT_BEGIN_NAMESPACE + namespace OSXBluetooth { NSUInteger qt_countGATTEntries(CBService *service)