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

Qt Quick Studio Components: Fix use of deprecated unescaped line terminator

    XMLWordPrintable

Details

    • 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
    • d4a58382b (qds-4.3)

    Description

      Compiler output (qmlsc from Qt 6.5.0)

      [50/574 33.4/sec] Generating .rcc/qmlcache/QuickStudioComponents_RegularPolygonItem_qml.cpp
      Info: RegularPolygonItem.qml:258:46: String contains unescaped line terminator which is deprecated. [multiline-strings]
                  let pathArc = Qt.createQmlObject('import QtQuick 2.15; PathArc {
                                                      property real centerX;
                                                      property real centerY }', path)
      Info: Use a template literal instead
                  let pathArc = Qt.createQmlObject(`import QtQuick 2.15; PathArc {
                                                      property real centerX;
                                                      property real centerY }`, path)
      

      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