Mindstormer
25th June 2014, 19:07
Hello!
I'm trying to get Qt Bluetooth to work on a Raspberry pi with a bluetooth dongle connected. I've read that the QBluetooth-classes need bluez 4.x to work properly so I downloaded, compiled and installed it on the RPI that I'm running my programs on. However when I do something similar to what the do in the first example here (http://qt-project.org/doc/qt-5/qtbluetooth-overview.html) I just get an invalid local device (localDevice.isValid() returns false).
I'm currently cross-compiling my programs on my PC and then deploy and run them on the RPI. But in order to cross compile I need an image of the RPI mounted, which I have but that image does not have bluez installed, my question is if I need to have bluez installed on the mounted image as well and if this may be the reason as to why my local device is invalid? (even when I run the program on the RPI which has bluez 4.x installed!)
Thanks in advance!
I'm trying to get Qt Bluetooth to work on a Raspberry pi with a bluetooth dongle connected. I've read that the QBluetooth-classes need bluez 4.x to work properly so I downloaded, compiled and installed it on the RPI that I'm running my programs on. However when I do something similar to what the do in the first example here (http://qt-project.org/doc/qt-5/qtbluetooth-overview.html) I just get an invalid local device (localDevice.isValid() returns false).
I'm currently cross-compiling my programs on my PC and then deploy and run them on the RPI. But in order to cross compile I need an image of the RPI mounted, which I have but that image does not have bluez installed, my question is if I need to have bluez installed on the mounted image as well and if this may be the reason as to why my local device is invalid? (even when I run the program on the RPI which has bluez 4.x installed!)
Thanks in advance!