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

Invalid property assignment: unsupported type "QQmlBinding*" in State

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      64c1fbe96c68b1286a70242ff4922be140128cb2 (qt/qtdeclarative/dev)

      Description

      the when property in State element doesn't accept values such as true, false and 1.

      import QtQuick 2.12
      
      State {
          when: true
      }
      

       

      when.qml:4 Invalid property assignment: unsupported type "QQmlBinding*"

       

      Note that it accepts JavaScript code like 1+1.

        Attachments

        For Gerrit Dashboard: QTBUG-76838
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              fabiankosmale Fabian Kosmale
              Reporter:
              tasuku.suzuki Tasuku Suzuki
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes