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

line break is unspported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.8
    • 6.8.2
    • QML: Compiler
    • None

    Description

      C:/work/02_tests/untitled3/build/Desktop_Qt_6_8_2_MinGW_64_bit-Debug/.qmltc/appuntitled3/main.cpp:215:5: error: 'QStringLiteral' was not declared in this scope
        215 |     QStringLiteral("Hello World
            |     ^~~~~~~~~~~~~~ 

      got above error 

      import QtQuickWindow {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World \n")
      } 

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes