QBluetoothLeUart/QBluetoothLeUart.pri
Dorian Zedler 60d10f056b
- update example
- some fixes
- added QBluetoothLeUartDeviceModel for use with QML
2020-10-11 15:49:51 +02:00

29 lines
753 B
Text

!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/qbluetoothleuart.cpp \
$$PWD/qbluetoothleuartdevice.cpp \
$$PWD/qbluetoothleuartdevicemodel.cpp
HEADERS += \
$$PWD/qbluetoothleuart.h \
$$PWD/qbluetoothleuartdevice.h \
$$PWD/qbluetoothleuartdevicemodel.h