I Have a project that uses QT Bluetooth and i managed to compile it up until today Today when calling QMake I get
Project MESSAGE: Warning: unknown QT: bluetooth
the .pro file looks something like this:
######################################################################
# Automatically generated by qmake (3.0) Thu Sep 29 10:34:51 2016
######################################################################
QT += bluetooth
QT += core
QT -= gui
CONFIG += c++11
CONFIG += debug
TEMPLATE = app
TARGET = build/ankioverdrive
#INCLUDEPATH += .
LIBS += -lmosquittopp
LIBS += -L/usr/lib
INCLUDEPATH += /usr/include/
# Input
SOURCES += some/paths/to/files.cpp \
HEADERS += \
some/paths/to/files.h \
running qmake --version
which seemd to be the problem for some before gave me
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
I'm on Kubuntu 18.04
I fixed the Problem by reinstalling Qt via the qt-unified install tool for linux, and running the qmake file in that installPath
this worked