mkdir bbd ssd
touch cca ccb
when use QDir like this
the right result is :Qt Code:
QStringList desktopList = mydir.entryList(QDir::AllEntries | QDir::NoDotAndDotDot | QDir::Hidden |QDir::System, QDir::Type ); qDebug() << "desktopList" << desktopList;To copy to clipboard, switch view to plain text mode
bbd ssd cca ccb
but
result is :
bbd cca ccb ssd
bbd,ssd is dir
Bookmarks