I tried to develop an app for my MiBand (version 1). I tried the QTBluetooth lib you mentioned and did something like this in my pro file
lib.files = lib
lib.path = /usr/share/$${TARGET}
INSTALLS += lib
unix:!macx: LIBS += -L$$PWD/../build-qtconnectivity-MerSDK_SailfishOS_armv7hl-Release/lib/ -lQt5Bluetooth
INCLUDEPATH += $$PWD/../build-qtconnectivity-MerSDK_SailfishOS_armv7hl-Release/include
DEPENDPATH += $$PWD/../build-qtconnectivity-MerSDK_SailfishOS_armv7hl-Release/include
Then I tried libgato and it worked out better, because it does not gather as much information at BLE service discovery, but it is GPL3 and therefore I gave up.
↧