Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
5.0.0
-
None
Description
Following QTBUG-24891, I would expect that overriding a property should result in the on<Property>Changed signal for that property being emitted when the overriding property is changed. This is not the case either with optimized or unoptimized bindings, as demonstrated by:
main.qml
import QtQuick 2.0 MyItem { property int myprop: 10 Component.onCompleted: myprop = 20 }
Unable to find source-code formatter for language: myitem.qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
import QtQuick 2.0 Item { property string myprop: "hello world" onMypropChanged: console.log('myprop: ' + myprop) //'normal' result: <no output> //QML_DISABLE_OPTIMIZER=1 result: <no output> }
Attachments
Issue Links
- resulted from
-
QTBUG-24891 v4 and v8 resolve root object properties differently
-
- Closed
-