Configure the server address
If you have On-Prem Qt License Server or Offline Qt License Server, you have to configure the server address for Qt License Service.
In Qt License Service version 3.4 or later, to set the server address, run:
<Qt SDK>/Tools/LicenseService/qtlicensetool --set-server-address <URL>
<Qt SDK>\Tools\LicenseService\qtlicensetool.exe --set-server-address <URL>
To ensure the server address is correctly set, run:
<Qt SDK>/Tools/LicenseService/qtlicensetool --get-server-address
<Qt SDK>\Tools\LicenseService\qtlicensetool.exe --get-server-address
With older Qt License Service versions, configure the server address in the configuration file:
- Open the
qtlicd.ini
file. - Set the value of
server_addr
to the address and port of Qt License Server. The default is the Cloud Qt License Server instance hosted by Qt. If you're using On-Prem Qt License Server or Offline Qt License Server, set the address accordingly.
See also Configuration file locations and Configuration file: qtlicd.ini.
© 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.