!isEmpty(QBLUETOOTHLEUART_LIB):error("QBluetoothLeUart.pri already included") QBLUETOOTHLEUART_LIB = 1 QBluetoothLeUart_QML { QT += qml quickcontrols2 DEFINES += QBluetoothLeUart_QML } QT += core bluetooth CONFIG += staticlib CONFIG += c++11 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 INCLUDEPATH += $$PWD/ SOURCES += \ $$PWD/qbluetoothleuartclient.cpp \ $$PWD/qbluetoothleuartdevice.cpp \ $$PWD/qbluetoothleuartdevicemodel.cpp HEADERS += \ $$PWD/qbluetoothleuartclient.h \ $$PWD/qbluetoothleuartdevice.h \ $$PWD/qbluetoothleuartdevicemodel.h android { QT += androidextras }