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. QT 5.8.0 compile bluetooth module error
Qt 6.11 is out! See what's new in the release blog

QT 5.8.0 compile bluetooth module error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 2.4k Views 3 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.
  • KutyusK Offline
    KutyusK Offline
    Kutyus
    wrote on last edited by Kutyus
    #1

    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.

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

      Hi,

      Are you compiling Qt on the Rpi3 ? Cross-compiling it from your desktop ?

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

      KutyusK 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Are you compiling Qt on the Rpi3 ? Cross-compiling it from your desktop ?

        KutyusK Offline
        KutyusK Offline
        Kutyus
        wrote on last edited by
        #3

        @SGaist

        Thank you for answer!

        I compiling on the Rpi3.

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

          I don't see the bluez dev package, did you miss that one ?

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

          KutyusK 1 Reply Last reply
          0
          • SGaistS SGaist

            I don't see the bluez dev package, did you miss that one ?

            KutyusK Offline
            KutyusK Offline
            Kutyus
            wrote on last edited by Kutyus
            #5

            @SGaist

            I installed this packages:
            libbluetooth-dev
            bluetooth
            blueman
            bluez
            libusb-dev
            libdbus-1-dev
            bluez-hcidump
            bluez-tools
            libbluetooth3.

            Which package is missing yet?

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

              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 ?

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

              KutyusK 1 Reply Last reply
              0
              • SGaistS SGaist

                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 ?

                KutyusK Offline
                KutyusK Offline
                Kutyus
                wrote on last edited by
                #7

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

                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