-1

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

scopchanov
  • 7,966
  • 10
  • 40
  • 68
Renji
  • 310
  • 3
  • 13

1 Answers1

0

I fixed the Problem by reinstalling Qt via the qt-unified install tool for linux, and running the qmake file in that installPath

PathToInstallation/version/gcc_64/bin/qmake

this worked

scopchanov
  • 7,966
  • 10
  • 40
  • 68
Renji
  • 310
  • 3
  • 13
  • LOL, You had 2 Qt installed, one the one that used the Qt installer and the other one that comes natively in Kubuntu, and with the apt-get command you had installed in the second one and you are using in the qt-creator the first one. :-) – eyllanesc Sep 27 '18 at 16:27
  • seemed like it But i still don't know what did break my installation to make i unable to compile – Renji Sep 27 '18 at 16:37