i would like to read all XML files of a directory. To this end I use the entryList function of QDir.

I have seen that you precise a filter to display files only, but is there a way to be more precise and display only .xml documents ?

For the moment I use the following instruction:

Qt Code:
  1. QStringList entries = dir.entryList(QDir::Files);
To copy to clipboard, switch view to plain text mode