Results 1 to 3 of 3

Thread: Qt Bluetooth cross compilation

  1. #1
    Join Date
    Mar 2014
    Posts
    11
    Thanks
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt Bluetooth cross compilation

    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 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!

  2. #2
    Join Date
    Mar 2014
    Posts
    11
    Thanks
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt Bluetooth cross compilation

    Quote Originally Posted by anda_skoa View Post
    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?

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Bluetooth cross compilation

    Quote Originally Posted by Mindstormer View Post
    Did you post in the wrong thread?
    Oops, indeed. Sorry. Post deleted.

    Cheers,
    _

Similar Threads

  1. Building Qt5 for Cross-Compilation
    By jdudeck in forum Installation and Deployment
    Replies: 1
    Last Post: 26th August 2013, 20:48
  2. QWT cross compilation for AVR32
    By Tulga in forum Qwt
    Replies: 2
    Last Post: 20th February 2011, 21:42
  3. Qt-4.6.2 cross compilation with DBus
    By grsandeep85 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 20th August 2010, 07:52
  4. Cross compilation from OS X to Windows
    By NicholasSmith in forum Installation and Deployment
    Replies: 3
    Last Post: 15th January 2009, 17:43
  5. problems about cross-compilation qte to arm
    By slient in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 10th April 2007, 16:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.