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

QFileInfo::lastModified sometimes returns wrong timestamp on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.12.0 Alpha
    • 4.6.3, 4.7.0
    • Core: I/O
    • None

      QFileInfo::lastModified sometimes returns wrong timestamp because of a bug in the Win API.
      There seems to be a problem with GetFileAttributes and Qt should work around this.

      See attached test program.
      Just call it with a filename as argument.

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

            Eddy Edward Welbourne
            bholm Benedikte Holm (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes