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

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

    XMLWordPrintable

Details

    • macOS
    • 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

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            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