Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QTBluetooth not found ?
Forum Updated to NodeBB v4.3 + New Features

QTBluetooth not found ?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 521 Views
  • 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.
  • M Offline
    M Offline
    MaikTheBike
    wrote on 2 Mar 2021, 08:53 last edited by
    #1

    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

    J 1 Reply Last reply 2 Mar 2021, 09:02
    0
    • M MaikTheBike
      2 Mar 2021, 08:53

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 2 Mar 2021, 09:02 last edited by jsulm 3 Feb 2021, 09:02
      #2

      @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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      2 Mar 2021, 08:53

      • Login

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