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

QFile:copy does not work properly for resources on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 4.5.3
    • Core: I/O
    • None

    Description

      When the sourceFile is loaded from the resource, like "QFile::copy(":/mydata.txt", "C:\mydata.txt");"

      Then the targetFile can not be deleted programatically.

      Calling QFile::remove(C:\mydata.txt");

      will fail. But the file exist and can be deleted in Explorer.
      This only happen when the file is copied from from the resources.

      Attachments

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

        Activity

          People

            biochimia João Abecasis
            xcm Martin Petersson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes