Copy file even when destination exists (in Qt)

前端 未结 0 2004
后悔当初
后悔当初 2021-02-12 04:54

In the QFile::copy documentation it says

If a file with the name newName already exists, copy() returns false (i.e., QFile will not overwrite it).

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题