1.2.3. Licensing

To use the Axivion Suite, a valid license must be detected. The following mechanisms are supported:

  • Connection to Qt License Server

    • Cloud-based license server: https://qls.qt.io

    • On-premise license server installation

  • License Key Files

1.2.3.1. Connection to Qt License Server

Licenses supplied by the Qt License Server (QLS) are supported starting with Axivion Suite 7.11.0. Please contact your Axivion Administrator to determine if your company uses QLS.

To set up the connection to the QLS, run the setup_qls script from an Axivion command prompt. This script will interactively prompt for details. By default, it assumes that the cloud license server https://qls.qt.io holds the license.

To use an on-premise QLS, install Qt License Server X.Y.Z (on-prem) using the Qt Online Installer (or Maintenance Tool, if you already have a Qt installation). Refer to the documentation installed with it. To configure the connection to the server, distinguish two cases:

  • If you have already configured other QLS clients, reuse your existing configuration. Run setup_qls with the parameter --accept_non_default_server_addr to accept the existing configuration.

  • To create a new client configuration or modify the existing one, run setup_qls --server_addr=https://your-qls-server:port. The script may ask you to set the environment variable QTLICD_CLIENT_USERNAME before using the Axivion Suite.

To run the setup_qls script in non-interactive mode, use the parameter --run_headless_or_fail. This causes the script to fail rather than starting interactive queries. Please accept the terms and conditions by supplying the command-line switch --auto_accept_terms_and_conditions. If you are connecting to the cloud server https://qls.qt.io, define the environment variables QT_ACCOUNT_LOGIN_EMAIL and QT_ACCOUNT_LOGIN_PASSWORD with your Qt Account credentials prior to running the script.

Run axivion_support and check the License Information section of the output to ensure the connection to the license server is working.

1.2.3.2. License Key Files

License keys were the preferred license mechanism for the Axivion Suite up to version 7.11.x. They may still be in use in your setup; please contact your Axivion Administrator to determine if The Qt Company GmbH, a subsidiary of The Qt Group has supplied your company with a license file.

The license key file can be placed in any of the following directories:

1. Any directory specified by the environment variable BAUHAUS_CONFIG (which may be a project-specific location or a shared network drive). Please see Section Configuration Files for details on BAUHAUS_CONFIG. BAUHAUS_CONFIG can also list a license key file directly, in which case the directory containing that file is searched.

  1. In the implicit configuration layer directories of the Axivion Suite installation:

  • Windows: BAUHAUS\config

  • Linux/macOS: BAUHAUS/config

  1. In the user configuration layer directory:

  • Windows: %USERPROFILE%\.bauhaus

  • Linux/macOS: $HOME/.bauhaus

All files with the extension .key are assumed to be Axivion Suite license key files, and any valid license features they contain are combined.

If at least one license key file is found, the Qt License Server is not contacted, even if the key files do not contain a valid license. To switch to the Qt License Server, remove the old license key files.

The environment variable AXIVION_LICENSE_LOOKUP restricts the license lookup to one mechanism. With the value QLS, license key files are ignored and only the Qt License Server is used. With the value FILE, only license key files are used.

Caution

A license key can be split across several lines; however, do not add any other characters such as leading or trailing spaces. Additional characters may render the license invalid.