I have two PCs, not connected with a cable and not in a network that need to communicate with each other. I'm doing two Qt apps and wanted to make the communication via Bluetooth. However, I found out that Qt does not support Bluetooth for Windows (Does Qt support the windows bluetooth API?). (It produces qt.bluetooth: Dummy backend running. Qt Bluetooth module is non-functional.
)
So what other alternatives do I have to bluetooth to establish this connection? Or how can I make QtBluetooth work? I am open for new suggestions.
The data to be transferred is a QByteArray
.
I am running Windows 10 Pro and Qt 5.11.1.
Edit:
According to the new answer on Does Qt support the windows bluetooth API?, QtBluetooth
can indeed work on Windows. I have two windows devices with exactly the same windows and Qt version. On one of them the Bluetooth chat example works perfectly, on the other one it still doesn't and I get the error message that Qt Bluetooth module is non-functional
. Can someone tell me when and why this error appears?
I have also seen this thread but it doesn't help me, because it's linux-specific.