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

QFileInfo::isDir() returns false for directories on mapped network paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.14.0
    • None
    • Windows

    Description

      QFileInfo::isDir() returns false if the directory lies on a mapped network drive like U:\myname\temp.

      But it works correctly on local drives (e.g.: C:\temp) or absolute network drives (e.g.: \\myserver\myname\temp).

      Example:

      QFileInfo fi("U:\\myname\\temp");
      if (fi.isDir())
      {
      // --> fi.isDir() returns false, though temp is a directory
      ...
      }

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            tneuhofer Thomas Neuhofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes