'Open Password Protected MS ACCESS database in QT c++

I am working on a QT C++ project in which I am using MS ACCESS as my database. I want to protect it with password and use it in my project. I have used it without password but Now want to encrypt it with password for security. Can Anyone guide me how to open password protected MS Access database in my QT Application?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source