very strange, I have run this code and it worked.
very strange, I have run this code and it worked.
maybe you don't have permissions to remove dirs?
Actually, When i create a new blank folder than it is able to remove ,If i open an existing directory which contains subdirs also using QFileDialog , then it wont able to remove..
Always Believe in Urself![]()
Merry
maybe dir path is absolute?
Yaa the dir path is absolute.
Always Believe in Urself![]()
Merry
If the path is absolute , then how can i remove direcctories..
Always Believe in Urself![]()
Merry
can you show path and dirs structure?
The Path is "/private/var/root/Desktop/Root"
"/private/var/root/Desktop/Root/GIF"
Always Believe in Urself![]()
Merry
looks like correct dir path.
maybe dir has a rea-only files or it's read-only. did you check it?
Yaa I check, the files are not read only, Files and dirs both are Read & Write.
Always Believe in Urself![]()
Merry
I've just tested code from my post under Linux, it works fine.
try to put qDebug() and output result of dir and files removing.
Yaa, When i run the code under Windows then it removes all the files and folders, and in MAC it remove all the files and also folders that are under root dir except the root dir,dont understand wat to do?
Always Believe in Urself![]()
Merry
Bookmarks