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

Fields of read-only valuetypes can be written

    XMLWordPrintable

Details

    Description

      This correctly gives an error (AnimatedImage sourceSize is read-only):

      AnimatedImage {
          sourceSize: "100x100"
      }
      

      whereas this does not:

      AnimatedImage {
          sourceSize.width: 100
          sourceSize.height: 100
      }
      

      Reproduced in tst_qdeclarativevaluetypes::sizereadonly().

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            wallison Warwick Allison (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes