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

[REGRESSION] QDir::entryList returns invalid names (6.4.2 -> 6.4.3)

    XMLWordPrintable

Details

    • Android
    • 76619eae4 (dev), 3e7d4f165 (6.5.2), d48a15a59 (6.5), 6a2956172 (6.6)

    Description

      The following code:

      QStringList nameFilter("fdm_*.qm");
      QDir dir("assets:/translations/main");
      auto files = dir.entryList(nameFilter);
      

      Returns:

      Qt 6.4.2: ["fdm_ar.qm", "fdm_bg.qm", "fdm_da.qm"]
      
      Qt 6.4.3: ["assets:/fdm_ar.qm", "assets:/fdm_bg.qm", "assets:/fdm_da.qm"]
      

      1) Qt 6.4.3 returns paths not just names
      2) These paths are invalid.

      Attachments

        Issue Links

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

          Activity

            People

              taipan BogDan Vatra
              alervd Alexander Dyagilev
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes