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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes