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.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://download.kde.org/stable/qca/2.3.6/qca-2.3.6.tar.xz
Download MD5 sum: bed96c14e590102e0974de1219a8c75e
Download size: 732 KB
Estimated disk space required: 43 MB
Estimated build time: 0.5 SBU (using parallelism=4; add 0.1 SBU for tests)
make-ca-1.12, CMake-3.26.4, Qt-5.15.9, and Which-2.21
Cyrus SASL-2.1.28, GnuPG-2.4.1, libgcrypt-1.10.2, libgpg-error-1.47, nss-3.89.1, NSPR-4.35, p11-kit-0.24.1, Doxygen-1.9.7, Which-2.21, and Botan
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/qca
Fix the location of the CA certificates:
sed -i 's@cert.pem@certs/ca-bundle.crt@' CMakeLists.txt
Install Qca by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR \ -DCMAKE_BUILD_TYPE=Release \ -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \ .. && make
To test the results, issue make test.
Now, as the root
user:
make install
-DCMAKE_BUILD_TYPE=Release
:
This switch is used to apply a higher level of compiler
optimizations.
-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man
:
Install the qca man page in the normal location.