QTBluetooth not found ?
-
Hi,
im relatively new to QT Creator and want to create an app that communicates with my Arduino Mega which uses an hc 05-bluetooth-module. There seem to be different bluetooth- modules ? Which modules/classes do I need to do that ? Ive got an Android Galaxy S9. And maybe somebody can tell me (or give me a link?) what the difference between Clang armeabi v8a, v7a, x86 and x86_64 is ?
I opened the example "scanner" to see how the bluetooth-thing works. On my Laptop it works fine using Desktop QT MinGw. But when I try to run in on my phone with Qt 6.0.1, arm64 - V8a I can choose my phone in the device-list and then it says (translated):
Initialise deployment to android device or Simulator
Deployment on (number)
Deployment-Error ( Step: Deployment to Android Device Kit: Android Qt 6.0.1 Clang arm64-v8a)In the Scanner.qml-File there is an Error:
import QtBluetooth 5.2 -> QML-Module not found (QtBluetooth)
Do I have to install the bluetooth-module for Android ?
When I open a new default (empty) QML-Projekt it runs fine on the phone.Thanks a lot,
Maik -
@MaikTheBike said in QTBluetooth not found ?:
what the difference between Clang armeabi v8a, v7a, x86 and x86_64 is ?
These are different processor architectures/instruction sets. Which you need depends on what device/emulator you're targeting.
QtBluetooth is not part of Qt6.0, use Qt5 for now.