No I meant for the "Reason %3" use QFile::error() to get the error and display it.