Qt rmdir function
-
Hi All,
I'd like to know why rmdir function sometimes runs and some times doesn't run.
The very strange thing is that it doesn't run even if the folder that I'm deleting is empty and it's not open.Thanks and regards.
-
My app create folder, than i supposed that the answer to your questio is yes.
-
Found my problem: My folder is not empty because system doesn't permit to remove a file that my app create.
I create file, write into and also close.
Why in your opinion? -
Found and closed all my problems!
i created my files into my folder using a QThread but the delete operation was done from main thread... then main thread wasn't able to delete all files. -
Good to know :) don't forget to mark thread as [solved], please.