Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.0.0
-
None
-
c263c6c832be3be85beb83e1ee2cce396874bf04
Description
Module API:
class MyApi : public QObject { Q_OBJECT Q_PROPERTY(int foo READ foo WRITE setFoo NOTIFY fooChanged) public: int foo() const; void setFoo(int foo); signals: void fooChanged(); };
Usage:
import MyApi as MyApi
Item {
property alias foo: MyApi.foo
}
Error:
Invalid alias reference. Unable to find id "MyApi"
property alias foo: MyApi.foo
Attachments
For Gerrit Dashboard: QTBUG-21420 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
5057,1 | Expand documentation for QObject Module APIs | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |