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

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

    XMLWordPrintable

Details

    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes