Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Raspberry Pi3 and QTbluetooth rfcomm server
I am getting below error while using QTBluetooth rfcomm server.
qt.bluetootg.bluez: Device does not support Bluetooth .
Did you test and verify that BT is up and running and working?
I had already installed bluez blueman and all the required packages. I have written native c++ code for bluetooth .
Native code -working
Qt bluetooth -not working
Ok most likely something to do with Qt expected version
and the actual installed version of Bluez
QT version details are
Qt Creator 3.2.1
Based on Qt 5.3.2 (GCC 4.9.2, 32 bit)
Built on May 11 2016 at 17:13:20
Copyright 2008-2014 Digia Plc. All rights reserved.
The program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
I have installed below packages on Raspberry pi 3
sudo apt-get install libbluetooth-dev bluetooth blueman bluez libusb-dev libdbus-1-dev bluez-hcidump bluez-tools
Can someone please verify which version is required.
@Avtansh-Sharma This is not Qt version, but QtCreator version + Qt which was used to build QtCreator.
for Bluez 5 i think you need at least Qt 5.4
I assume you are also using an older Qt since you have such older Creator ?
I read the blog it says Bluez 4.x versions will be supported for lower Qt versions
If try the reverse direction. Lower the bluez version instead of upgrading the QT it should work.
Compiling and building QT for Raspberry Pi3 will be tedious.
Quote from blog
"From its first release in Qt 5.2 onwards, it has grown and improved in every Qt release.
In light of the forthcoming Qt 5.5 release, I’d like to tell you a bit more about the current status of Qt Bluetooth. It started out as a solution to interact with Bluetooth devices on Linux using Bluez 4.x."
What version of Qt are you using ?
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/arm-linux-gnueabihf
I tried to lower the bluez version but unsuccessful in gettin qt bluetooth work for me
According to blog it should have worked. Can you please give a official link from where I can get what is the compatible version of bluez with my qt version