Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9809 Qt Quick Studio Components/Effects: Fix compilation warnings
  3. QDS-9811

Qt Quick Studio Components: Fix attempts to modify read-only properties

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Not Evaluated
    • None
    • None
    • QDS Berlin - 2023 Week 27/28, QDS Berlin - 2023 Week 29/30, QDS Berlin - 2023 Week 33/34, QDS Berlin - 2023 Week 35/36, QDS Berlin - 2023 Week 37/38

    Description

      Compiler output (qmlsc from Qt 6.5.0)

      [43/574 35.5/sec] Generating .rcc/qmlcache/QuickStudioComponents_ArcItem_qml.cpp
      ...
      Warning: ArcItem.qml:487:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: ArcItem.qml:487:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: ArcItem.qml:487:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: ArcItem.qml:487:9: Could not compile function clearPathElements: Can't assign to read-only property pathElements [compiler]
              path.pathElements = []
              ^^^^
      ...
      [47/574 33.0/sec] Generating .rcc/qmlcache/QuickStudioComponents_BorderItem_qml.cpp
      ...
      Warning: BorderItem.qml:486:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: BorderItem.qml:486:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: BorderItem.qml:486:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: BorderItem.qml:486:9: Could not compile function clearPathElements: Can't assign to read-only property pathElements [compiler]
              path.pathElements = []
              ^^^^
      ...
      [50/574 33.4/sec] Generating .rcc/qmlcache/QuickStudioComponents_RegularPolygonItem_qml.cpp
      ...
      Warning: RegularPolygonItem.qml:316:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: RegularPolygonItem.qml:316:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: RegularPolygonItem.qml:316:9: Cannot assign to read-only property pathElements [read-only-property]
              path.pathElements = []
              ^^^^
      Warning: RegularPolygonItem.qml:316:9: Could not compile function clearPathElements: Can't assign to read-only property pathElements [compiler]
              path.pathElements = []
              ^^^^
      

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes