QCryptographicHash hash(QCryptographicHash::Md5);hash.addData(file.readAll());md5File = hash.result().toHex();