I want to create a program, which can encrypt and decrypt a complete file with an individual password. Is there any way to manage this in Qt and/or C++ and how?
Qt doesn't provide functionality to encrypt/decrypt.
QCryptographicHash only generates hashes. It is not what you are looking for.