Remove non empty directory with QFileSystemModel.
I have a trouble with deleting the directory using rmdir of QFileSystemModel object.
It only removes empty directories. but returns false if the directory is not empty.
Do you have any Idea?
maybe you can use
I am using qt-4.8 :) I don't have this method there.
Oh. That would have been too easy then :)
has a function that looks good.
bool removeDir(const QString & dirName)
make sure to give it full path.
I dont think QFileSystemModel can do it directly .
Not that i have seen.