Qt License Server configuration
Define the 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_OPERATION_MODE | online | online , offline | Set the operation mode for the Qt License Server instance. With On-Prem Qt License Server (online ), Qt License Service syncs licenses automatically from Qt cloud. Internet connection is required. For more information, see Configuration. |
QLS_PORT | 8080 | [port number] | The port on which Qt License Server runs. |
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 | Enable or disable access control list usage. For more information, see Qt License Server ACL file format. |
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 Qt License Server considers. |
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. |
QLS_PRIOR_TO_LEASE_RENEWAL_TIME | None | [an integer] | The lease renewal interval prior to expiry time in seconds. This is applicable only for site-licenses and if requested from Qt. For more information, see Set the lease prior to expiry time. |
QLS_EVENTS_EMAIL_NOTIFICATION | no | yes , no | Enable email notifications. For more information, see Enable email notifications. |
See also Install 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.