Add defs compiler flag and extend zigbee adapter properties

This commit is contained in:
Simon Stürz 2020-10-28 12:43:30 +01:00
parent f883e24f51
commit 5e2426165c
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
QT += gui serialport sql
QMAKE_CXXFLAGS += -Werror -std=c++11
QMAKE_CXXFLAGS += -Werror -std=c++11 -z defs
QMAKE_LFLAGS += -std=c++11
sourceDir = $$PWD

View File

@ -39,6 +39,9 @@ class ZigbeeAdapter
Q_PROPERTY(QString name READ name)
Q_PROPERTY(QString description READ description)
Q_PROPERTY(QString systemLocation READ systemLocation)
Q_PROPERTY(bool backendSuggestionAvailable READ backendSuggestionAvailable)
Q_PROPERTY(Zigbee::ZigbeeBackendType suggestedZigbeeBackendType READ suggestedZigbeeBackendType)
Q_PROPERTY(qint32 suggestedBaudRate READ suggestedBaudRate)
public:
explicit ZigbeeAdapter();