PDA

View Full Version : Qt Bluetooth cross compilation



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!

Mindstormer
1st July 2014, 09:41
If the data of a cell changes, emit the dataChanged() signal.
If there is a new row, see beginInsertRow() and endInsertRow()
If a row gets removed, see beginRemoveRow() and endRemoveRow()

And so forth.

Cheers,
_
Did you post in the wrong thread?

Also, was my question unclear or is there no simple answer to my question?

anda_skoa
1st July 2014, 11:59
Did you post in the wrong thread?

Oops, indeed. Sorry. Post deleted.

Cheers,
_