Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
6.8
-
None
-
-
64c27f532 (dev)
Description
The REQUIRED keyword in Q_PROPERTY simply does nothing for things loaded by QQmlComponent::loadUrl + beginCreate + completeCreate.
For the context (no pun intended), I discovered it because in KDE/Plasma some QQuickWindow subclass initializes views from components whose initial properties are set directly on the object one by one, bypassing the modern QQmlComponent::setInitialProperties infrastructure — which is why our kqml tool loads files that qml6 refuses to.
Attachments
For Gerrit Dashboard: QTBUG-131647 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
612370,2 | QtQml: Test that loadUrl/beginCreate/completeCreate honors REQUIRED | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |