I am trying to copy a game from a disk or USB flash drive to hard drive in my computer using Qt and I wanted to use QFile::copy
and it is important for me to keep the permissions like being executable and writable.
Do I have to use QFile::setPermissions
or the permissions are not changed by default in the copy function call?