bluez development package not found - AGAIN
-
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?
PLEASEq6@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:~$ -
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/2Unfortunately, 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.
-
After removing the package link to
libbluetooth-devunix: 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"
-
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/2Unfortunately, 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.
@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.
-
@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.
@Christian-Ehrlicher LOL :)
-
@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.pcto 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 locationsor 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-devI get another , single error
:-1: error: Project ERROR: bluez development package not found
which replaced this errorYou 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.