Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0, 6.4.1
-
-
aa4a1e96b (dev)
Description
Hello,
I have attempted to replicate on of the examples from the following documentation which talks about Sequence tips (https://doc.qt.io/qt-6/qtquick-performance.html).
In the documentation there is an example of how to speed up writing to a sequence property by doing a copy sequence. I was able to replicate this code which I have attached below.
This works as intended in Qt 6.2.3, however when attempting to build this example with Qt 6.4.0 I get the error ":-1: error: ninja: build stopped: subcommand failed."
This error appears to be caused by the line "mySequence.qrealListProperty = someData;" (line 89 of main.qml in the attached example). It is unclear to me why this is happening and I believe it to be a bug as the code is nearly identical to the code from the documentation and works perfectly in previous version of Qt.
Attachments
Issue Links
- resulted in
-
QTBUG-109353 qmlcachegen/qmlsc: Type analysis for arrays seems to be lacking
- Reported
For Gerrit Dashboard: QTBUG-109164 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
448045,5 | QQmlJSCodeGenerator: fix nullptr dereference | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
448188,1 | QQmlJSCodeGenerator: fix nullptr dereference | 6.4 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |