QT 5.8.0 compile bluetooth module error

  • Hi!

    I would like to compile the bluetooth module on a raspberry pi 3, but i take some errors, the qmake -r says:

    Project MESSAGE: Unsupported Bluetooth platform, will not build a working QtBluetooth library.
    Project MESSAGE: Either no Qt D-Bus found or no BlueZ headers available.

    And the compiler build the dummy module. I have installed bluez, libbluetooth-dev, libdbus-dev, etc.

    I have no more idea.

  • Lifetime Qt Champion


    Are you compiling Qt on the Rpi3 ? Cross-compiling it from your desktop ?

  • @SGaist

    Thank you for answer!

    I compiling on the Rpi3.

  • Lifetime Qt Champion

    I don't see the bluez dev package, did you miss that one ?

  • @SGaist

    I installed this packages:

    Which package is missing yet?

  • Lifetime Qt Champion

    Sorry, my bad, I mixed the bluez dev package with another one.

    From that point, it looks good. Then a silly question, did you re-configure the module aftert installing all the libraries. If so, can you share the log of the build ?

  • @SGaist Yesss! Thanks for the tip. I deleted my Qt source dir, and exctracted a fresh copy from the tar archive. The ./configure said bluez and bluetooth are yes, and the make is compiled the bluetooth module.

Log in to reply