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

Qt Quick States documentation shows old PropertyChanges syntax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10
    • Documentation

      https://doc.qt.io/qt-6/qtquick-statesanimations-states.html shows example code for using states and PropertyChanges.

      Running qmllint on the provided code shows warnings like

      Property "color" is custom-parsed in PropertyChanges. You should phrase this binding as "signal.color: "green"" [Quick.property-changes-parsed

      The example code should show the modern practice of using signal.color: "green"

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

            docteam Qt Documentation Team
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes