As I have to process a large number of files, I'd like to show a progress of this process.
I know that iterating using QDirIterator::next()
is the best option, but first I need to know the total number of files in a directory (and all its subdirectories).
What is the fastest method to count a large set of files?