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

qmllint: Warning: Property "position" not found on type "Transition"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.2
    • 6.0.0
    • QML: Tooling

    Description

      Warning: Property "position" not found on type "Transition" at src/imports/controls/material/SwipeDelegate.qml:96:36
                  enabled: control.swipe.position === 0
                                         ^^^^^^^^
      

      The swipe property comes from here:

      https://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/src/quicktemplates2/qquickswipedelegate_p.h#n63

      QQuickSwipe has a position property:

      https://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/src/quicktemplates2/qquickswipe_p.h#n62

      So somehow qmllint is getting confused.

      Attachments

        Issue Links

          Activity

            People

              qtqmlteam Qt Qml Team User
              mitch_curtis Mitch Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: