Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135437

code snippet doesn't build due to a function reference from inside Component

XMLWordPrintable

    • 914d16477 (dev), f6950368a (6.9), 9bb0da7b5 (6.8)
    • framework-content 9

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lexcaz Alexei Cazacov
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes