[Interest] QFile/QDir: force move mode only?

Alexander Dyagilev alervdvcw at gmail.com
Mon May 13 11:26:37 CEST 2019


On 5/12/2019 12:22 AM, Henry Skoglund wrote:
> QFile/QDir is pretty much at the mercy of the OS, i.e. if the OS 
> refuses the renaming (for example on NTFS when you try to rename 
> across volumes) then QFile dutifully copies the file instead.

I know it. That's is what the question about. How to avoid this behavior.


>
> So I think this is not a Qt question 

Definitely it's a Qt question. Qt could provide some flag to avoid this 
unwanted behavior.




More information about the Interest mailing list