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" plugin "declarative_bluetooth" not found
Forum Updated to NodeBB v4.3 + New Features

"QtBluetooth" plugin "declarative_bluetooth" not found

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 2 Posters 1.5k Views 2 Watching
  • 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.
  • J Offline
    J Offline
    joanaguimas
    wrote on last edited by
    #1

    Hi!
    I'm starting to work with the Qt project, so this is my first application for android. I'm trying to use connection via bluetooth, but without success. Always appears the same error:

    W / Qt (12226): QML \ qqmlapplicationengine.cpp: 133 (void QQmlApplicationEnginePrivate :: _ q_finishLoad (QObject *)): QQmlApplicationEngine failed to load component
    W / Qt (12226): QML \ qqmlapplicationengine.cpp: 134 (void QQmlApplicationEnginePrivate :: _ q_finishLoad (QObject *)): qrc: /main.qml: 3 module "QtBluetooth" plugin "declarative_bluetooth" not found
    W / Qt (12226):

    someone who has seen this error?

    Thank you. :)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Might sound silly but did you add

      QT += bluetooth

      to your pro file ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        joanaguimas
        wrote on last edited by
        #3

        yes, I have: "import QtBluetooth 5.3"..

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That's QML, what about the pro file setup ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          J 1 Reply Last reply
          0
          • SGaistS SGaist

            That's QML, what about the pro file setup ?

            J Offline
            J Offline
            joanaguimas
            wrote on last edited by
            #5

            @SGaist

            sorry, I understood wrong the question.. on my pro file I have:

            QT += bluetooth
            SOURCES += main.cpp

            TARGET = CityBike
            TEMPLATE = app

            RESOURCES += qml.qrc

            OTHER_FILES +=ligar.qml main.qml

            now, the error is only:

            W/Qt (28276): qrc:/ligar.qml:3 ((null)): qrc:/ligar.qml:3:1: module "QtBluetooth" plugin "declarative_bluetooth" not found

            thanks.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Just thought of something: aren't you using the wrong import version ?

              From Qt's doc it should be 5.2 currently

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              J 1 Reply Last reply
              0
              • SGaistS SGaist

                Just thought of something: aren't you using the wrong import version ?

                From Qt's doc it should be 5.2 currently

                J Offline
                J Offline
                joanaguimas
                wrote on last edited by
                #7

                @SGaist

                Hi, sorry for the delay, but I have already managed to solve the problem. Basically I uninstalled and went back to install QT. I think the error would be any files that the program couldn't find, maybe I have deleted or changed the directory unconscious. Now I have other problems to solve, but I hope to resolve alone for first step. :)

                Thanks for the help. :)

                1 Reply Last reply
                0

                • Login

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