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

QFileInfo::canonicalPath wrong for nonexistent file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • 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
        For Gerrit Dashboard: QTBUG-74102
        # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There is 1 open Gerrit change