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

QFile::Copy fails on WinRT/Windows Phone because the file always exists before copying

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.6.0 Beta
    • Core: I/O
    • None
    • Windows Phone 10
    • WinRT

    Description

      In WinRT a file is automatically created when a writable StorageFile object is created. QFile::copy fails per documentation if the file exists. Thus, on WinRT QFile::copy fails too.

      Attachments

        1. filesystemtest2.zip
          2 kB
          Peter Staab
        2. QTBUG-50612.zip
          3 kB
          Maurice Kalinowski

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              DanielSt Peter Staab
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes