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.

OptionDefaultPossible valuesDescription
QLS_PORT8080[port number]The port on which the Qt License Server will run.
QLS_ENABLE_SSLyesyes, noEnable 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_CONTROLnoyes, noControl who can request a license.
QLS_LONGTERM_USAGEnoyes, noAllow user to make long-term reservation for a license.
QLS_IP_RATE_LIMIT_VALUE100[limit value]How many requests from a single IP address in a 1-second window Qt License Server allows.
QLS_AUTO_DATA_OFFLOADnoyes, noEnable the automatic data offload.
QLS_DATA_OFFLOAD_INTERVALNonedaily, weekly, monthlyHow often to perform the automatic data offload. Required if automatic data offload is enabled.
QLS_DATA_OFFLOAD_START_HOURNone00 - 24When to start the automatic data offload. Required if automatic data offload is enabled.
QLS_DATA_OFFLOAD_FILE_PATHNone[an absolute path]Where to store the data offload. Has to be an absolute path. Required if automatic data offload is enabled.
QLS_USER_IDENTITYuser_iduser_id, emailThe type of user identity the Qt License Server will consider.
QLS_LOG_LEVELinfoFrom least verbose to most:
  • error
  • warninfo
  • verbose
  • debug
  • silly
The level of internal logging from the Qt License Server that the customer wants to see in the log files.
QLS_SYSTEM_LOG_PATHNone[an absolute path]Where to store the server system logs. Has to be an absolute path.
QLS_SYSTEM_LOG_FILE_SIZE20[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_SIZE30000 - 30000The 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.