Details
Description
This code works fine on python 3.10:
d = QDir(base_path)
entries = d.entryList(QDir.Filter.Files)
However, doesn't work on 3.11 (<3.10 or >3.11 not tested at this point). Always returns an empty list.
The workaround at the moment is to not have the filter, which returns all entries, including directories.
files = d.entryList()
Notes:
- This was tested with both resource paths (ex ":/images") and normal paths.
- Any filter causes QDir.entryList(...) to return an empty list (ex. QDir.Filter.Dirs)