[Interest] QDir::entry(Info)List on macos
Manner Róbert
rmanni at gmail.com
Wed Nov 14 10:34:17 CET 2018
Hi,
I would like to list all files and directories in a folder on macos
(High Sierra). Unfortunately everything seems to miss filenames with
accented letters, eg éáűúőóüí. If the filename contains at least one of
these, it is silently ignored from the list.
Here is a test program to reproduce:
#include <QDir>
#include <QDebug>
#include <QFileInfoList>
int main() {
qDebug() << QDir(".").entryList();
qDebug() << QDir(".").entryInfoList(QDir::System | QDir::AllEntries |
QDir::Hidden);
}
I have also tried to specify filters, hidden, system etc, they seem to
not help.
Do you know about this problem? Do you know a workaround? Qt version is
5.11.2
Thanks in advance,
Robert
More information about the Interest
mailing list