Add defs compiler flag and extend zigbee adapter properties
This commit is contained in:
parent
f883e24f51
commit
5e2426165c
@ -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
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user