Open joaonc opened 1 month ago
This code is used in src.show_dialog.utils_qt::list_resources(...)
and there are unit tests for it.
It appears that any filter QDir.Filter.*
doesn't work on python 3.11.
Created ticket in Qt: https://bugreports.qt.io/browse/PYSIDE-2834
This code
works fine on python 3.10.
However, doesn't work on 3.11 (<3.10 or >3.11 not tested at this point). The workaround at the moment is to not have the filter, which returns all entries, including directories.
Note: this was tested with resource paths (ex
:/stylesheets
).