Solved 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.
-
Hi,
Are you compiling Qt on the Rpi3 ? Cross-compiling it from your desktop ?
-
-
I don't see the bluez dev package, did you miss that one ?
-
I installed this packages:
libbluetooth-dev
bluetooth
blueman
bluez
libusb-dev
libdbus-1-dev
bluez-hcidump
bluez-tools
libbluetooth3.Which package is missing yet?
-
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.