Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross compile Qt with bluetooth (and low enegry) enabled.

Cross compile Qt with bluetooth (and low enegry) enabled.

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 421 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wang Bing
    wrote on last edited by
    #1

    Hi everyone,

    I want to cross compile the Qt with BLE enabled. By checking the configure log
    Qt Bluetooth:
    BlueZ .................................. no
    BlueZ Low Energy ....................... no
    Linux Crypto API ....................... no
    I know the bluetooth has failed been included to Qt.
    This tick (https://forum.qt.io/topic/104738/can-not-configure-qt-with-bluetooth/11) said I need to have the Bluetooth headers and libs in my sysroot if you cross compile. Or you compile it using you cross compalation tool chain and pass include and lib path to your configure call. But I'v no idea where can I the get the Bluetooth headers and libs. Do I need to download it from Bluez website?

    Thanks for any reply.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      It depends. If you want to build the dependencies yourself then get the sources from upstream.

      Otherwise, the usual way is to install the development packages on your sysroot through the package manager.

      In your case, what is your target device ?
      Which Linux distribution does it run ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Wang Bing
        wrote on last edited by
        #3

        Hi SGaist. Thanks for your reply. I already resovled this problem by set the correct include and library directories to bluez installation by using -I and -L options. My target board is Allwinner H3 and the linux is ubuntu 16.04.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved