Qt License Server configuration
Define the on-premises Qt License Server configuration values in the configuration file (Linux: qt-license-server.service, Windows: qt-service.xml).
Note: Any change in the configuration file requires a server restart to take effect.
The table below summarizes the available configuration options.
Option | Default | Possible values | Description |
---|---|---|---|
QLS_PORT | 8080 | [port number] | The port on which the Qt License Server will run. |
QLS_ENABLE_SSL | yes | yes, no | Enable SSL certificates to encrypt sensitive information sent across the intranet (you need cert.pem and key.pem files). For more information, see SSL certificates. |
QLS_ACCESS_CONTROL | no | yes, no | Control who can request a license. |
QLS_LONGTERM_USAGE | no | yes, no | Allow user to make long-term reservation for a license. |
QLS_IP_RATE_LIMIT_VALUE | 100 | [limit value] | How many requests from a single IP address in a 1-second window Qt License Server allows. |
QLS_AUTO_DATA_OFFLOAD | no | yes, no | Enable the automatic data offload. |
QLS_DATA_OFFLOAD_INTERVAL | None | daily, weekly, monthly | How often to perform the automatic data offload. Required if automatic data offload is enabled. |
QLS_DATA_OFFLOAD_START_HOUR | None | 00 - 24 | When to start the automatic data offload. Required if automatic data offload is enabled. |
QLS_DATA_OFFLOAD_FILE_PATH | None | [an absolute path] | Where to store the data offload. Has to be an absolute path. Required if automatic data offload is enabled. |
QLS_USER_IDENTITY | user_id | user_id, email | The type of user identity the Qt License Server will consider. |
QLS_LOG_LEVEL | info | From least verbose to most:
| The level of internal logging from the Qt License Server that the customer wants to see in the log files. |
QLS_SYSTEM_LOG_PATH | None | [an absolute path] | Where to store the server system logs. Has to be an absolute path. |
QLS_SYSTEM_LOG_FILE_SIZE | 20 | [file size] | The maximum size of the log file in megabytes (MB). If the file size reaches the defined value, Qt License Server creates another file. |
QLS_MAX_QUEUE_SIZE | 3000 | 0 - 30000 | The maximum queue size for incoming requests when Qt License Server is busy processing ongoing requests. |
See also Install on-premises Qt License Server.
© 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.