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

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

XMLWordPrintable

    • macOS
    • 64c1fbe96c68b1286a70242ff4922be140128cb2 (qt/qtdeclarative/dev)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes