PDA

View Full Version : Can't create folder if file with same name exists



Barry79
6th May 2009, 16:38
Hi,

I noticed that you can't create a directory via QDir::mkdir() if a file with the same name already exists in the directory where you wish to create the new directory.

/Barry

wysota
6th May 2009, 17:33
That's basically true for the filesystems I know - you can't have a subdirectory and a file with the same name.