Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
All files from folder
roosaw last edited by
Hi, i want to take all names of files from the directory (same where my program is) and put them in an array. How? Is there is some function to take first file (alphabetically) and then will take next file (and then next in a loop to the end)?
task_struct last edited by
Hi, take a look at "QDir::entryList()":http://doc.trolltech.com/4.7/qdir.html#entryList
andre last edited by
And if you prefer to loop (sometimes useful), take a look at QDirIterator.