Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.4, 5.0.0
-
None
Description
The following files demonstrate the problem. In this case the v4 behavior is what I expected to see.
main.qml
import QtQuick 2.0 MyItem { property int myprop: 10 }
MyItem.qml
import QtQuick 2.0 Item { property string myprop: "hello world" property string result: myprop Component.onCompleted: console.log(myprop + " " + result) //'normal' result: 10 hello world //QML_DISABLE_OPTIMIZER result: 10 10 }
Attachments
Issue Links
- resulted in
-
QTBUG-26573 v8 alias resolution is not dynamic
-
- Closed
-
-
QTBUG-26574 v8 signal resolution is not dynamic
-
- Closed
-
For Gerrit Dashboard: QTBUG-24891 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21216,10 | Restrict v8 property lookup to the execution context | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
30894,2 | WIP: Fall back to V8 for overridden properties | master | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |