- QFileInfo::fileName() is not the name of a directory, so we need
absoluteFilePath() to construct a QDir
- QDir::entryList() returns only the name suffix, not the whole path
- stop at any arbitrary depth, and add a find command which does full
recursion
Amends
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| filetest.pro | ||
| main.cpp | ||