title: Get only files but not directories in QT?
body: <p>When I do this:</p>
  
  <pre><code>QDir myDir("/home/some/location");
  QStringList filesList = myDir.entryList("*");
  </code></pre>
  
  <p>it is returning both the files and the directories inside that location. But I want only files. And the files can have arbitrary extensions. Any ideas?</p>