34 lines
799 B
Prolog
34 lines
799 B
Prolog
!isEmpty(QBLUETOOTHLEUART_LIB):error("QBluetoothLeUart.pri already included")
|
|
QBLUETOOTHLEUART_LIB = 1
|
|
|
|
CONFIG += QBluetoothLeUart_QML
|
|
|
|
QBluetoothLeUart_QML {
|
|
QT += qml quickcontrols2
|
|
DEFINES += QBluetoothLeUart_QML
|
|
}
|
|
|
|
QT += core bluetooth
|
|
|
|
TEMPLATE = lib
|
|
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
|
|
|
|
SOURCES += \
|
|
qbluetoothleuart.cpp \
|
|
qbluetoothleuartdevice.cpp
|
|
|
|
HEADERS += \
|
|
qbluetoothleuart.h \
|
|
qbluetoothleuartdevice.h
|
|
|
|
# Default rules for deployment.
|
|
unix {
|
|
target.path = $$[QT_INSTALL_PLUGINS]/generic
|
|
}
|
|
!isEmpty(target.path): INSTALLS += target
|