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

line break is unspported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.10.0 FF, 6.10
    • 6.8.2
    • QML: Compiler
    • None
    • 916f5b51c (dev)

    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

        1. untitled3.zip
          1 kB
          shanheng jiu
        For Gerrit Dashboard: QTBUG-134726
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes