Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.0 Beta2, 6.6.1
-
Kubuntu Linux 21.10
-
-
48a0b9593 (dev), d2c0653f9 (6.6), 1fbeaf85c (tqtc/lts-6.5), 448a6ffe2 (dev), b61f05b14 (dev), 40ee4243c (6.7), 49a3db6c7 (6.7)
Description
Apparently this also happens without '--compiler warning'. See comments below. Original report:
qmllint --compiler warning main2.qml
Seems to be related to:
https://bugreports.qt.io/browse/QTBUG-91165
See attached: main2.qml and main2.log
Code snippet from main2.qml:
State {
name: "rightState"
AnchorChanges {
target: mover
anchors {
left: undefined
right: main.right
horizontalCenter: undefined
}
}
}
Example qmllint output:
Warning: main2.qml:80:32: Cannot assign binding of type QQuickAnchorLine to QQmlScriptString right: main.right ^^^^^^^^^^ Warning: main2.qml:80:42: Could not compile binding for right: cannot convert from QQuickAnchorLine of QQuickItem::right with type QQuickAnchorLine to QQmlScriptString of QQmlScriptString horizontalCenter: undefined
Attachments
Issue Links
- relates to
-
QTBUG-91165 QtQuick compiler and QML States/AnchorChanges at loading prevents component to be displayed
- Closed
-
QTBUG-101365 qmllint --compiler reporting spurious errors on grouped properties
- Reported
-
QTBUG-119473 Restructure the QtQml library
- Closed
For Gerrit Dashboard: QTBUG-101364 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
512595,5 | Fix unqualified access to properties in QML Camera example | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
515384,2 | Fix unqualified access to properties in QML Camera example | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
515458,3 | Fix unqualified access to properties in QML Camera example | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
541622,3 | QtQml: Make QQmlScriptString a builtin | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
541623,5 | qmllint: Allow converting anything to QQmlScriptString | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542431,2 | QtQml: Make QQmlScriptString a builtin | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542432,2 | qmllint: Allow converting anything to QQmlScriptString | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |