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

Error when running qmldom example (qmldomloadeditwrite)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • 6.9
    • 6.6.0 Beta2
    • QML: Tooling
    • None

    Description

      Steps

      1. download the correspond sources to build and run qmldom example
        1. with file1.qml
      2. build and run qt6\qtdeclarative\examples\qml\qmldom

       

      Current result

      • qmldom example doesn't create editedfile1.qml
      qt.qmldom.writeOut: failure reformatting  "C:/Users/[UserName]/AppData/Local/Temp/editedfile1.qml"
      "Error while writing" 

       

      Expected result

      • editedfile1.qml is properly created and its code should be different from file1.qml

       

       

      I am suspecting the code in the function writeOutForFile in qqmldomitem.cpp

      When I commented out the condition in the code, editedfile1.qml is created in the folder.

       

      editedfile1.qml

       

      Attachments

        For Gerrit Dashboard: QTBUG-115812
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            unseon.ryu Unseon Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change