-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2, 6.8.0 Beta2
-
ac309fdee (dev), 1e4658cc0 (dev), 406bcf868 (6.8), 0fbb5c9f8 (6.7), b0fd8ef05 (dev), 9b3a8acef (6.8), 640d9e029 (6.7)
The attached project (no pun intended) produces the warning,
Using attached type Test already initialized in a parent scope.: Reference it by id instead:
Strangeness:
- Where the "repeated" attachment is made N levels deep, the warning is emitted N times for that line.
- This warning is not emitted at all if "import QtQuick.Controls.Basic" is removed.
- This warning is not emitted if our custom attached type is replaced by a "built-in" attached type (like Window.width or Keys.enabled)
- is duplicated by
-
QTBUG-129115 AttachedProperyReuse warning suggests endless id loop
-
- Closed
-
- resulted in
-
QTBUG-127691 qmllint: don't print duplicate warnings
-
- Closed
-
- split to
-
QTBUG-127812 qmllint: enhance QQuickAttachedPropertyPropagator-reuse warning
-
- Reported
-
For Gerrit Dashboard: QTBUG-127650 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
580637,5 | tst_qmllint: test for duplicate warning messages | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
580639,5 | qmllint: Remove duplicate warning in quicklintplugin | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
581601,4 | quicklint: disable controls-attached-property-reuse category by default | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
581967,2 | qmllint: Remove duplicate warning in quicklintplugin | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582054,2 | qmllint: Remove duplicate warning in quicklintplugin | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582821,2 | quicklint: disable controls-attached-property-reuse category by default | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582877,2 | quicklint: disable controls-attached-property-reuse category by default | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |