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

QDir::entryList returns invalid names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.3
    • Core: I/O
    • None
    • Android

    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

        Activity

          People

            qtandroidteam Qt Android Team
            alervd Alexander Dyagilev
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: