Merging folders QDir
General and Desktop
2
Posts
2
Posters
669
Views
2
Watching
-
Hi, i've got a need in merging two folders, means moving+replacing all the contents of one folder into the target folder, same as windows does it.
is there a way to accomplish this with QDir? QDir::rename() as described, won't work if the "new dir name" already exists. any other function?thanks!
-
Hi,
You can list the content of the folder you want to move and rename each element to the folder to merge in.