Is there a cross-platform function in Qt that is equivalent to the MoveFile function in Windows and the mv command in Linux?
Sure, QDir::rename() following the old Unix / POSIX tradition of calling this rename.
QDir::rename()
Which makes sense if you think of a file with its complete path: the underlying inodes just get assigned a different path/file label.
1.4m articles
1.4m replys
5 comments
57.0k users