Compose entitlement.json from multiple licenses

Download individual licenses from Qt Customer Portal. For site and floating licenses, you can find the entitlement.json file in the .zip file. If you want to host multiple licenses with Offline Qt License Server, compose all needed licenses as one entitlement.json.

Note: The entitlement.json is only needed with Offline Qt License Server. With On-Prem Qt License Server, the local entitlement.json license file is not used.

To find the information of your license:

  1. Go to Qt Customer Portal.
  2. Select Licenses.
  3. Select the License Number from the list of licenses.
  4. Select Download Qt License.
  5. Open the downloaded qt-license.zip folder.
  6. Open the entitlement.json file to see the information of the license.

Now, aggregate multiple licenses from separate entitlement.json files into one entitlement.json file.

Format of the entitlement.json file

To compose the entitlement.json file, use the following format.

{
    "licenses": [
        {
        # license 1
        },
        {
        # license 2
        },
        {
        # license n ...
        }
    ]
}

Example

In this example, the entitlement.json file is composed with two licenses.

{
    "licenses": [
        {
            "version": "1.0.0",
            "licensee": {
                "contact": "example.user@company.com",
                "description": "",
                "name": "Example User"
            },
            "contacts": {
                "admin": "https://account.qt.io/s/manage-licenses",
                "sales": "https://www.qt.io/contact-us",
                "support": "mailto:support@qt.io"
            },
            "license_info": {
                "hosting": "on-prem",
                "license_id": "123456",
                "model": "site",
                "priority": 100,
                "schema": "Full Commercial",
                "type": "subscription",
                "valid_from": "2023-10-26",
                "valid_to": "2025-12-31"
            },
            "consumers": [
            {
                "consumer_features": {},
                "consumer_id": "qtcreator",
                "consumer_version": ""
            },
            {
                "consumer_features": {},
                "consumer_id": "qtframework",
                "consumer_version": ""
            }
            ],
            "pool_info": {
                "concurrent_consumers": 100,
                "lease_time": 7,
                "lease_time_unit": "day",
                "reservation_type": "user"
            },
            "cs_p": ".......",
            "cs_s": "......."
        },
        {
            "version": "1.0.0",
            "licensee": {
                "contact": "example.user@company.com",
                "description": "",
                "name": "Example User"
            },
            "contacts": {
                "admin": "https://account.qt.io/s/manage-licenses",
                "sales": "https://www.qt.io/contact-us",
                "support": "mailto:support@qt.io"
            },
            "license_info": {
                "hosting": "on-prem",
                "license_id": "987654",
                "model": "site",
                "priority": 100,
                "schema": "Full Commercial",
                "type": "subscription",
                "valid_from": "2023-11-26",
                "valid_to": "2026-12-34"
            },
            "consumers": [
            {
                "consumer_features": {},
                "consumer_id": "mcu_qpe",
                "consumer_version": ""
            }
            ],
            "pool_info": {
                "concurrent_consumers": 50,
                "lease_time": 7,
                "lease_time_unit": "day",
                "reservation_type": "user"
            },
            "cs_p": ".......",
            "cs_s": "......."
        }
    ]
}

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.