Qt Cryptographic Architecture: qca_version.h File Reference

Qt Cryptographic Architecture

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Macros
qca_version.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | QCA_MAJOR_VERSION 2
#define | QCA_MINOR_VERSION 1
#define | QCA_PATCH_VERSION 1
#define | QCA_VERSION QCA_VERSION_CHECK(2, 1, 1)
#define | QCA_VERSION_CHECK(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
#define | QCA_VERSION_STR "2.1.1"

## Detailed Description

Header file with QCA version.

Note
  You should not use this header directly from an application. You should just use `#include <QtCrypto>` instead.

## Macro Definition Documentation

#define QCA_MAJOR_VERSION 2

The major part of current QCA version.

#define QCA_MINOR_VERSION 1

The minor part of current QCA version.

#define QCA_PATCH_VERSION 1

The patch part of current QCA version.

#define QCA_VERSION_STR "2.1.1"

The current version of QCA as string.

#define QCA_VERSION_CHECK | ( |  | major,
|  |  | minor,
|  |  | patch
| ) |  | ((major << 16) | (minor << 8) | (patch))

Can be used like #if (QCA_VERSION >= QCA_VERSION_CHECK(2, 0, 3))

Parameters

  major | part of the version
  minor | part of the version
  patch | part of the version

#define QCA_VERSION QCA_VERSION_CHECK(2, 1, 1)

The current version of QCA.

This provides you a compile time check of the QCA version.

See also
  qcaVersion for a runtime check.

Examples:
  aes-cmac.cpp.