-
Bug
-
Resolution: Unresolved
-
P4: Low
-
6.3
-
None
This error message should say something about the property not being resettable, or whatever the actual reason is, not just "Could not set initial property horizontalAlignment".
Component {
id: theComponent
Item {
property int horizontalAlignment
}
}
function test_stuff() {
var data = ({})
data.horizontalAlignment = undefined
var properties = { horizontalAlignment: data.horizontalAlignment }
// QWARN : [...]tst_textarea.qml: Could not set initial property horizontalAlignment
var object = theComponent.createObject(parent, properties);
}
- relates to
-
QTBUG-99231 "Could not set initial property horizontalAlignment" when trying to set resettable property
-
- Reported
-