The problem is that your trying to delete you dir like this
Qt Code:
To copy to clipboard, switch view to plain text mode
But rmdir is not static. What you should do is create QDir object (let say QDir dir) and then
The problem is that your trying to delete you dir like this
Qt Code:
To copy to clipboard, switch view to plain text mode
But rmdir is not static. What you should do is create QDir object (let say QDir dir) and then
I'm a rebel in the S.D.G.
Why can't you use QProcess to remove the folder? This destroys the folder and everything in it.
Qt Code:
QProcess delfiles; delfiles.start("rm -R /folder/files");To copy to clipboard, switch view to plain text mode
well that's not going to work cross platform
read this thread, maybe it should help you.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks