Qca-2.1.1

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.8-systemd platform.

Package Information

Qca Dependencies

Required

Certificate Authority Certificates, CMake-3.4.3, Qt-4.8.7 or Qt-5.5.1, and Which-2.21

Optional

Cyrus SASL-2.1.26, GnuPG-2.1.11, libgcrypt-1.6.4, libgpg-error-1.21, NSS-3.21, NSPR-4.11, OpenSSL-1.0.2f, p11-kit-0.23.2, Doxygen-1.8.11, and Which-2.21

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

Installation of Qca

If desired, remove a lot of irritating warnings when building:

sed -i 's/BSD/DEFAULT/' CMakeLists.txt

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 \
      ..                                        &&

make

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. There are no packages in BLFS that use the Qt5 version of Qca.

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

Contents

Installed Programs: mozcerts and qcatool (if building with Qt5, the binaries have a -qt5 suffix)
Installed Libraries: libqca.so (libqca-qt5.so if building with Qt5) and plugins at $QT4DIR/lib/qca/crypto
Installed Directories: $QT4DIR/include/QtCrypto (or $QT5DIR/include/Qca-qt5), $QT4DIR/lib/cmake/Qca (or $QT5DIR/lib/cmake/Qca-qt5) and $QT4DIR/lib/qca (or $QT5DIR/lib/qca-qt5)

Short Descriptions

mozcerts

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

qcatool

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

libqca.so

is the Qt Cryptography Architecture (Qca) library.

Last updated on 2016-01-24 21:56:13 -0600