Hello.
I've got a question: where exactly headers must be placed?
I have builded QBluetooth for Windows and writed to the .pro file of my program:
Code:
LIBS += -lQBluetooth -L$$(QTDIR)/QBluetooth/bin
INCLUDEPATH += ..\QBluetooth
HEADERS += ..\QBluetooth\QBluetooth.h
and got errors
Code:
In file included from ..\bluetooth-computer\main.cpp:2:
..\bluetooth-computer\/widget.h:6:24: error: QBluetooth.h: No such file or directory
..\bluetooth-computer\/widget.h:7:23: error: QBtDevice.h: No such file or directory
In file included from ..\bluetooth-computer\main.cpp:2:
..\bluetooth-computer\/widget.h:24: error: 'QBtDevice' was not declared in this scope
..\bluetooth-computer\/widget.h:24: error: template argument 1 is invalid
..\bluetooth-computer\/widget.h:28: error: 'QBtDevice' has not been declared
I tried to copy HEADERS and INCLUDEPATH from QBluetooth.pro and it did not help.