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.
2.1m questions
2.1m answers
60 comments
56.9k users