Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.3, 6.5.0
-
None
-
-
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
- duplicates
-
QTBUG-114576 QFileInfo("assets:/path/to/file").fileName() returns wrong name
-
- Closed
-