Cross compile Qt with bluetooth (and low enegry) enabled.
-
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.
-
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 ?