Introduction to Qca

Qca aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. Qca separates the API from the implementation, using plugins known as Providers.

This package is known to build and work properly using an LFS-7.7 platform.

Package Information

Qca Dependencies


Certificate Authority Certificates, CMake-3.1.3, Qt-4.8.6 and Which-2.20


Cyrus SASL-2.1.26, GnuPG-2.0.26, libgcrypt-1.6.2, libgpg-error-1.18, NSS-3.17.4, NSPR-4.10.8, OpenSSL-1.0.2, p11-kit-0.22.1, Qt-5.4.0, Doxygen-, and Which-2.20

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/qca

Installation of Qca

Install Qca by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=$QT4DIR            \
      -DCMAKE_BUILD_TYPE=Release                \
      -DQT4_BUILD=ON                            \
      -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
      ..                                        &&


To test the results, issue make test.

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply a higher level of compiler optimizations.

-DQT4_BUILD=ON: This switch is used to force building with Qt4 even if Qt5 is found.

-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man: Install the qca man page in the normal location.


Installed Programs: mozcerts and qcatool
Installed Libraries: libqca.so and plugins at $QT4DIR/lib/qca/crypto
Installed Directories: $QT4DIR/include/QtCrypto, $QT4DIR/lib/cmake/Qca and $QT4DIR/lib/qca

Short Descriptions


is a command line tool for converting certdata.txt into outfile.pem files.


is a command line tool for performing various cryptographic operations with Qca.


is the Qt Cryptography Architecture (Qca) library.

Last updated on 2015-02-23 21:00:51 -0800