Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
8d89b4ef2 (dev)
-
Foundation Sprint 87, Foundation Sprint 88
Description
// counter.h #include <QObject> class Counter : public QObject { Q_OBJECT Q_PROPERTY(int value MEMBER m_value NOTIFY valueChanged); public: Counter(QObject* parent = nullptr); signals: void valueChanged(int newValue); private: int m_value = 0; };
Using this command...
qdbuscpp2xml -A counter.h -o counter.xml
...does not generate a usable D-Bus property:
<property name="value" type="i" access=""/>
Suggestion
Add support for MEMBER
Attachments
For Gerrit Dashboard: QTBUG-115631 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
493993,2 | qdbuscpp2xml: Support MEMBER field of Q_PROPERTY | dev | qt/qtbase | Status: MERGED | +2 | 0 |