PDA

View Full Version : dir entries enumerate problem



nicolas1
5th December 2008, 11:09
QDirIterator does not find directories with dot as prefix: ".config" in linux. Tried to change flags, but no success.

Thanks

munna
5th December 2008, 11:30
Instead of directly creating QDirIterator object try creating a QDir object first with your path and then using QDir object create a QDirIterator object to iterate.

nicolas1
5th December 2008, 11:36
I tried this. Entries with dot prefixed are not found.

nicolas1
5th December 2008, 15:19
It worked fine with flags:
QDir::Files|QDir::AllDirs|QDir::Hidden|QDir::Syste m