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

QFileInfo::canonicalPath wrong for nonexistent file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.11.3
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      QFileInfo::canonicalPath() is documented to return an empty string if the file does not exist. The actual value returned is "." instead.

        Attachments

        1. test.cpp
          0.2 kB
          Denis Lisov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tanriol Denis Lisov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes