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

QDir::entryInfoList() broken on Android when nameFilters used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.14, 6.2.9, 6.5.2, 6.6.0
    • 6.5.0
    • Core: I/O
    • None
    • Android
    • f1778f34e (dev), d8a08ad21 (6.5), 08346f56a (tqtc/lts-6.2), e6cc67dcf (tqtc/lts-5.15)
    • 2023wk18FOQtforAndroid

    Description

      QDir::entryInfoList() returns an empty list in Qt 6.5 on Android, when nameFilters is used:

      QString path(QFileDialog::getExistingDirectory());
      QDir dir(path);
      QFileInfoList files(dir.entryInfoList("*.gpx", QDir::Files));
      
      // 'files' is empty on Qt 6.5; on Qt 6.4 it contains the gpx files as expected
      

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              tumic Martin Tůma
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes