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

QFileInfo::canonicalPath wrong for nonexistent file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.11.3
    • Core: I/O
    • None
    • Linux/X11

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

        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.

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

              Created:
              Updated:

                There are no open Gerrit changes