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. bluez development package not found - AGAIN
Forum Updated to NodeBB v4.3 + New Features

bluez development package not found - AGAIN

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 1.3k 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    EDIT
    I went back to install "additional libraries " only to find that 5.15.2 install has no such option.

    This "issue" was never resolved.
    It surfaced when new , clean Ubuntu OS (21.04) was installed.

    It worked fine on previous , same version of Ubuntu.
    Using Qt 5.15.2 GCC 64 bits and CANNOT, DO NOT WANT currently upgrade.
    Need to resolve this first. .

    PLEASE
    Can anybody help me to find a solution?
    PLEASE

    q6@q6-desktop:~$ sudo apt install libbluetooth-dev
    [sudo] password for q6:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    libbluetooth-dev is already the newest version (5.64-0ubuntu1).
    The following packages were automatically installed and are no longer required:
    libflashrom1 libftdi1-2
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    q6@q6-desktop:~$

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by ChrisW67
      #2

      Please put the information about the problem in the body of the post, not the subject.
      Please provide the context of the problem.

      The answer is the same AGAIN
      https://forum.qt.io/topic/140317/missing-bluez-and-bluetooth-dev-package/2

      Unfortunately, your habit of deleting your contributions to threads that do not give you the answer you were expecting means the previous thread is now essentially devoid of any context.

      Post the PRO file that references the bluez library in full.

      Edit: I am sure that the thread linked above was full of deleted posts yesterday. Not today. Go figure.

      Christian EhrlicherC 1 Reply Last reply
      1
      • A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by Anonymous_Banned275
        #3

        After removing the package link to
        libbluetooth-dev

        unix: CONFIG += link_pkgconfig
        #message($$PKGCONFIG)
        #unix: PKGCONFIG += libbluetooth-dev
        #message($$PKGCONFIG)

        I get another , single error

        :-1: error: Project ERROR: bluez development package not found
        which replaced this error
        (It almost looks as bluez and libbluetooth-dev are mixed up )

        :-1: error: Project ERROR: libbluetooth-dev development package not found

        I did check and the "bluez" package is installed.

        I did installed fresh and both 5.15 and 6.,2 QTCreator.
        6.2 does have "additional libraries' included / installed.

        Unfortunately I am still not sure which kit to build / run with and forgot how to / where select to use "all kits"

        1 Reply Last reply
        0
        • C ChrisW67

          Please put the information about the problem in the body of the post, not the subject.
          Please provide the context of the problem.

          The answer is the same AGAIN
          https://forum.qt.io/topic/140317/missing-bluez-and-bluetooth-dev-package/2

          Unfortunately, your habit of deleting your contributions to threads that do not give you the answer you were expecting means the previous thread is now essentially devoid of any context.

          Post the PRO file that references the bluez library in full.

          Edit: I am sure that the thread linked above was full of deleted posts yesterday. Not today. Go figure.

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

          @ChrisW67 said in bluez development package not found - AGAIN:

          Edit: I am sure that the thread linked above was full of deleted posts yesterday. Not today. Go figure.

          You're right - I restored it.

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

          JonBJ 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @ChrisW67 said in bluez development package not found - AGAIN:

            Edit: I am sure that the thread linked above was full of deleted posts yesterday. Not today. Go figure.

            You're right - I restored it.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @Christian-Ehrlicher LOL :)

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChrisW67
              wrote on last edited by
              #6

              @Christian-Ehrlicher Got me. Nice one ;)

              @AnneRanch You still have not posted the entire PRO file.

              On Ubuntu the libbluetooth-dev package provides the BlueZ library, libbluetooth.so, and related files. This includes the pkg-config configuration file, bluez.pc to allow that tool to work. The way that tool would be used to find the BlueZ library and headers would be:

              chrisw@newton:~$ pkg-config --libs bluez
              -lbluetooth
              chrisw@newton:~$ pkg-config --cflags bluez
              
              # ^^^ no -I flags here because the headers are in standard locations
              

              or variations on that theme.

              You are attempting to have qmake use pkg-config to find the BlueZ library here:

              unix: CONFIG += link_pkgconfig
              #unix: PKGCONFIG += libbluetooth-dev

              I get another , single error

              :-1: error: Project ERROR: bluez development package not found
              which replaced this error

              You have the wrong package name. Try this:

              unix: {
                CONFIG += link_pkgconfig
                PKGCONFIG += bluez
              }
              

              (It almost looks as bluez and libbluetooth-dev are mixed up )

              Indeed, you have mixed them up.

              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