Unable to access file means QFile::PermissionsError