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.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.kde.org/stable/qca/2.3.7/qca-2.3.7.tar.xz
Download MD5 sum: 0e50817de610e145c83ca012f79f18f5
Download size: 732 KB
Estimated disk space required: 43 MB
Estimated build time: 0.4 SBU (using parallelism=4; add 0.1 SBU for tests)
make-ca-1.13, CMake-3.27.8, Qt-5.15.11, and Which-2.21
Cyrus SASL-2.1.28, GnuPG-2.4.3, libgcrypt-1.10.3, libgpg-error-1.47, nss-3.94, NSPR-4.35, p11-kit-0.25.3, Doxygen-1.9.8, Which-2.21, and Botan
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 \
.. &&
makeTo 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.