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

[Qt5] QDir should provide an error code/string function for QDir::entryInfoList()

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • P2: Important
    • None
    • None
    • Core: I/O
    • None
    • All

    Description

      QDir::entryInfoList doc:

      Returns an empty list if the directory is unreadable, does not exist, or if nothing matches the specification.

      I need the error code/string (media failed, rights, FS corrupted, ...). The empty list doesn't explain the reason for failure.

      Please, add way to know if all have work, AND error code and errorString(). Thanks.
      It's very important in some case (right ok, but other error block the folder access).

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              alpha_one_x86 BRULE Herman
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Gerrit Reviews

                    There are no open Gerrit changes