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

xmlStreamReader can't open an ReadWrite mode file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.2
    • None

    Description

      When you open a file with mode QFile::ReadWrite and then bind it with a QXmlStreamReader instance. the QXmlStreamReader instance can't work normally. But when you change ReadWrite to ReadOnly, it can work normally.

      With QFile::ReadWrite, the result is:

      With QFile:ReadOnly, the result is:

      Attachments

        1. image.png
          10 kB
          Kai Liao
        2. image-2020-09-22-13-16-13-204.png
          10 kB
          Kai Liao
        3. image-2020-09-22-13-16-13-204[1].png
          10 kB
          Kai Liao
        4. image-2020-09-22-13-17-05-258.png
          16 kB
          Kai Liao
        5. xmlReadWriteDemo.rar
          4 kB
          Kai Liao

        Activity

          People

            thiago Thiago Macieira
            macomphy Kai Liao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: