Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.1
-
914d16477 (dev), f6950368a (6.9), 9bb0da7b5 (6.8)
-
framework-content 9
Description
link: https://doc.qt.io/qt-6/qml-qtquick-controls-tumbler.html#details
The snippet defines formatText() which is called from inside Component, which leads to ReferenceError: formatText is not defined error with Qt 6.8.
One way to fix the issue is to move the function definition inside the Label.
Attachments
For Gerrit Dashboard: QTBUG-135437 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
637546,3 | Doc: Code snippet shows a function reference from inside Component | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
638786,2 | Doc: Code snippet shows a function reference from inside Component | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
638903,2 | Doc: Code snippet shows a function reference from inside Component | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |