Hi all,
How can I check with Qt if a directory has files and in that case delete all those files ?
I am using Qt 4..
Thank you in advance for your kind reply and suggestions..
Roberto
Hi all,
How can I check with Qt if a directory has files and in that case delete all those files ?
I am using Qt 4..
Thank you in advance for your kind reply and suggestions..
Roberto
You can iterate over a directory using QDir::entryInfoList .
You can then check if each is a file, and if yes, delete it.
Bookmarks