Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.9.3
-
None
-
bc49400b7df51312e918097de429826484fa5c61
Description
This is basically what was described in https://bugreports.qt.io/browse/QTBUG-14254 , which was closed, but still valid in 5.9.
1)
Rectangle { property alias borderColor: border.color }
gives:
Invalid alias reference. Unable to find id "border"
2)
Rectangle { id: root property alias borderColor: root.border.color }
or
Item { property alias borderColor: rect.border.color Rectangle { id: rect } }
gives:
Invalid alias target location: color
Any reason why this is not supported or should this be considered a bug? If there is a good reason, it should be documented.
Attachments
Issue Links
- relates to
-
QTBUG-14254 Property alias does not work with grouped properties
-
- Closed
-
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-65011 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
215724,3 | Doc: state that property aliases do not work with grouped properties | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |