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

Unhelpful error message if you target something in a transition that does not exist

    XMLWordPrintable

Details

    Description

      If you have code like this

      transitions: [
              Transition {
                  to: "indicatorMode"
                  NumberAnimation { target: bob; property: "opacity"; duration: 300; easing.type: "OutExpo"  }
      

      and 'bob' is a spelling mistake or simply does not exist you get this error

      Titlebar.qml:199: Unable to assign [undefined] to QObject*
      

      Could it say 'bob' is undefined or does not exist?

      Attachments

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

        Activity

          People

            wallison Warwick Allison (closed Nokia identity) (Inactive)
            designker Nigel Hietala
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes