Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0, 5.2.0 Alpha
-
None
Description
The following property declarations are errors:
property Namespace.Item foo2
property list<Namespace.Item> foo1
default property list<Item> foo3
This seems overly restrictive and makes importing into namespaces much less useful.
Attachments
Issue Links
- duplicates
-
QTBUG-15127 Cannot make a list the default property
- Closed
- replaces
-
QTBUG-17457 Property type does not accept namespace prefix
- Closed
-
QTBUG-37026 Cannot create a list property of a custom QML object type
- Closed
-
QTBUG-56339 QML nested namespaces can't be used to define a property type
- Closed
-
QTBUG-28639 Can't use namespaced types in property declarations
- Closed
-
QTBUG-29901 QML properties on C++ QQuickItems fail to parse with "import as"
- Closed
-
QTBUG-34229 Unable to set property to a type from a qualified import
- Closed
For Gerrit Dashboard: QTBUG-10822 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
177549,2 | Fix support for QML declared default list properties | 5.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
177598,3 | Fix support for namespaced types in property/signal declarations | 5.8.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |