Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.3, 6.5, 6.6.0 Beta2, 6.6, 6.7.0 FF
-
6.5.1
-
None
-
e81cff767 (dev), 0f452bda5 (6.6), ffa43ceb6 (6.5)
Description
Building the attached example turns into
Info: Main.qml:3:1: Unused import [unused-imports] import scripts ^^^^^^ Warning: Main.qml:12:26: Could not compile binding for text: Cannot generate efficient code for script lookup [compiler] text: `Result: ${Foo.getText()}` ^^^
. Removing the import breaks the app.
Attachments
For Gerrit Dashboard: QTBUG-113855 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
487626,4 | QmlCompiler: Scan template literals when importing | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
487828,2 | QmlCompiler: Scan template literals when importing | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
487829,3 | QmlCompiler: Scan template literals when importing | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |