问题
is there any library cross platform written in c++ that permit to know the list of devices that are connected to this pc?
回答1:
Since Qt5.2 you can use Qt bluetooth library : http://doc.qt.io/qt-5/qtbluetooth-module.html
回答2:
Qt5.2 and Qt5.4 Bluetooth cross platform support is * * very * * limited.
Qt 5.4 Bluetooth support is implemented only for Android and Linux (BlueZ 4.x/5.x). I guess BlackBerry 10 is included too since it is QNX based.
There is no mention of planned Qt Bluetooth support for either Windows, OSX, or iOS.
See: Qt Bluetooth
-Ed
来源:https://stackoverflow.com/questions/14831171/bluetooth-library-cross-platform-in-c