42 lines
829 B
Prolog
42 lines
829 B
Prolog
QT += core
|
|
QT -= gui
|
|
QT += serialport
|
|
QT += concurrent
|
|
QT += widgets
|
|
QT += KConfigCore KConfigGui
|
|
QT += KCoreAddons
|
|
|
|
TEMPLATE = lib
|
|
DEFINES += ZIGATEPLUGIN_LIBRARY
|
|
|
|
CONFIG += c++17
|
|
|
|
# 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 += \
|
|
zigateplugin.cpp \
|
|
zigatecmd.cpp \
|
|
zigateInit.cpp \
|
|
library.cpp \
|
|
serial.cpp \
|
|
|
|
HEADERS += \
|
|
zigateplugin.h \
|
|
version.h \
|
|
responseClasses.h \
|
|
library.h \
|
|
serial.h \
|
|
zigbeeManagerPlugins.h \
|
|
zigbeeManagerinterface.h
|
|
|
|
# Default rules for deployment.
|
|
unix {
|
|
target.path = /usr/lib
|
|
}
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
DISTFILES += \
|
|
zigateplugin.json
|