Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtBluetooth is not recognized on Linux.
Forum Updated to NodeBB v4.3 + New Features

QtBluetooth is not recognized on Linux.

Scheduled Pinned Locked Moved Solved General and Desktop
17 Posts 4 Posters 1.4k Views 1 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.
  • jsulmJ jsulm

    @jenya7 As @Christian-Ehrlicher wrote. "QtBluetooth development package".
    libqt5bluetooth5-dev

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

    @jsulm said in QtBluetooth is not recognized on Linux.:

    @jenya7 As @Christian-Ehrlicher wrote. "QtBluetooth development package".
    libqt5bluetooth5-dev

    I get - Unable to locate package libqt5bluetooth5-dev

    1 Reply Last reply
    0
    • J jenya7

      @Christian-Ehrlicher said in QtBluetooth is not recognized on Linux.:

      @jenya7 said in QtBluetooth is not recognized on Linux.:

      Linux doesn't see the library.

      How did you install Qt? Did you forget to install the QtBluetooth development package?

      This way

      sudo apt-get update
      sudo apt-get upgrade
      sudo apt-get install qt5-default
      sudo apt-get install qtcreator
      sudo apt-get install qtdeclarative5-dev
      

      Is it separate installation for the Bluetooth package?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #8

      @jenya7 said in QtBluetooth is not recognized on Linux.:

      sudo apt-get install qtdeclarative5-dev

      I get - Unable to locate package libqt5bluetooth5-dev

      Please think before writing - when the qtdeclarative5 dev package is named qtdeclarative5-dev - how the qt5bluetooth5 dev package is maybe named?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      J 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @jenya7 said in QtBluetooth is not recognized on Linux.:

        sudo apt-get install qtdeclarative5-dev

        I get - Unable to locate package libqt5bluetooth5-dev

        Please think before writing - when the qtdeclarative5 dev package is named qtdeclarative5-dev - how the qt5bluetooth5 dev package is maybe named?

        J Offline
        J Offline
        jenya7
        wrote on last edited by jenya7
        #9

        @Christian-Ehrlicher said in QtBluetooth is not recognized on Linux.:

        @jenya7 said in QtBluetooth is not recognized on Linux.:

        sudo apt-get install qtdeclarative5-dev

        I get - Unable to locate package libqt5bluetooth5-dev

        Please think before writing - when the qtdeclarative5 dev package is named qtdeclarative5-dev - how the qt5bluetooth5 dev package is maybe named?

        I love quizzes, especially - find the pattern.

        qtbluetooth5-dev
        qtbluetooth-dev
        qt5bluetooth-dev

        none is working.

        The winner is - libbluetooth-dev

        jsulmJ 1 Reply Last reply
        0
        • J jenya7

          @Christian-Ehrlicher said in QtBluetooth is not recognized on Linux.:

          @jenya7 said in QtBluetooth is not recognized on Linux.:

          sudo apt-get install qtdeclarative5-dev

          I get - Unable to locate package libqt5bluetooth5-dev

          Please think before writing - when the qtdeclarative5 dev package is named qtdeclarative5-dev - how the qt5bluetooth5 dev package is maybe named?

          I love quizzes, especially - find the pattern.

          qtbluetooth5-dev
          qtbluetooth-dev
          qt5bluetooth-dev

          none is working.

          The winner is - libbluetooth-dev

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #10

          @jenya7 You did not say what Linux distribution you use.
          On Ubuntu 20.04 there is indeen no dev package for QtBluetooth module.
          What error do you get when you add bluetooth to your pro file?

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

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @jenya7 You did not say what Linux distribution you use.
            On Ubuntu 20.04 there is indeen no dev package for QtBluetooth module.
            What error do you get when you add bluetooth to your pro file?

            J Offline
            J Offline
            jenya7
            wrote on last edited by jenya7
            #11

            @jsulm said in QtBluetooth is not recognized on Linux.:

            @jenya7 You did not say what Linux distribution you use.
            On Ubuntu 20.04 there is indeen no dev package for QtBluetooth module.
            What error do you get when you add bluetooth to your pro file?

            It's Raspbian Linux.
            It reports - libbluetooth is installed but on QT += bluetooth I get

            Project ERROR: Unknown module(s) in QT: bluetooth

            jsulmJ 1 Reply Last reply
            0
            • J jenya7

              @jsulm said in QtBluetooth is not recognized on Linux.:

              @jenya7 You did not say what Linux distribution you use.
              On Ubuntu 20.04 there is indeen no dev package for QtBluetooth module.
              What error do you get when you add bluetooth to your pro file?

              It's Raspbian Linux.
              It reports - libbluetooth is installed but on QT += bluetooth I get

              Project ERROR: Unknown module(s) in QT: bluetooth

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #12

              @jenya7 I think you need to install qtconnectivity5-dev package.

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

              J 1 Reply Last reply
              1
              • jsulmJ jsulm

                @jenya7 I think you need to install qtconnectivity5-dev package.

                J Offline
                J Offline
                jenya7
                wrote on last edited by
                #13

                @jsulm said in QtBluetooth is not recognized on Linux.:

                @jenya7 I think you need to install qtconnectivity5-dev package.

                Nice! That's it!

                1 Reply Last reply
                0
                • Christian EhrlicherC Offline
                  Christian EhrlicherC Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #14

                  Strange packaging... I would expect a little bit more consistency here. Mhhh..
                  Is there at least an overview somewhere for e.g. raspbian to see in which package a file can be found?

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  jsulmJ SGaistS 2 Replies Last reply
                  0
                  • Christian EhrlicherC Christian Ehrlicher

                    Strange packaging... I would expect a little bit more consistency here. Mhhh..
                    Is there at least an overview somewhere for e.g. raspbian to see in which package a file can be found?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #15

                    @Christian-Ehrlicher One can use apt-file to search for packages providing specified file.

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

                    1 Reply Last reply
                    1
                    • Christian EhrlicherC Christian Ehrlicher

                      Strange packaging... I would expect a little bit more consistency here. Mhhh..
                      Is there at least an overview somewhere for e.g. raspbian to see in which package a file can be found?

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #16

                      @Christian-Ehrlicher because QtBluetooth part of the QtConnectivity module along with nfc therefore the package name used.

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

                      Christian EhrlicherC 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        @Christian-Ehrlicher because QtBluetooth part of the QtConnectivity module along with nfc therefore the package name used.

                        Christian EhrlicherC Offline
                        Christian EhrlicherC Offline
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote on last edited by
                        #17

                        @SGaist Thx for the clarification :)

                        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                        Visit the Qt Academy at https://academy.qt.io/catalog

                        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