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 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.9/qca-2.3.9.tar.xz
Download MD5 sum: d8aaa46356a322464f65b04d00d2bac6
Download size: 748 KB
Estimated disk space required: 57 MB (with tests)
Estimated build time: 1.0 SBU (using parallelism=4; with tests)
make-ca-1.14, CMake-3.31.0, Qt-6.8.0, and Which-2.21
Cyrus SASL-2.1.28, GnuPG-2.4.6, libgcrypt-1.11.0, libgpg-error-1.51, nss-3.107, NSPR-4.36, p11-kit-0.25.5, Doxygen-1.12.0, 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 -D CMAKE_INSTALL_PREFIX=$QT6DIR \ -D CMAKE_BUILD_TYPE=Release \ -D QT6=ON \ -D QCA_INSTALL_IN_QT_PREFIX=ON \ -D QCA_MAN_INSTALL_DIR:PATH=/usr/share/man \ .. && make
To test the results, issue make test.
Now, as the root
user:
make install
-D
CMAKE_BUILD_TYPE=Release
: This switch is used to apply
a higher level of compiler optimizations.
-D QT6=ON
: Ensure the
packages is built with Qt-6.8.0.
-D
QCA_MAN_INSTALL_DIR:PATH=/usr/share/man
: Install the
qca man page in the normal location.