Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Platform-independent Qt API for storing passwords securely.
C++ CMake
branch: master

Merge pull request #49 from TheOneRing/fix_windows10

fix translation install dir on qt5 if qmake reported Qt: Untested Window...



QtKeychain is a Qt API to store passwords and other secret data securely. How the data is stored depends on the platform:

  • Mac OS X: Passwords are stored in the OS X Keychain.

  • Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain tries to use KWallet (via D-Bus), if available.

  • Windows: Windows does not provide a service for secure storage. QtKeychain uses the Windows API function CryptProtectData to encrypt the password with the user's logon credentials. The encrypted data is then persisted via QSettings.

In unsupported environments QtKeychain will report an error. It will not store any data unencrypted unless explicitly requested (setInsecureFallback( true )).

License: QtKeychain is available under the Modified BSD License. See the file COPYING for details.

Something went wrong with that request. Please try again.