Reserve licenses for longer periods

A long-term reservation of a license lasts until the expiration date of the license. You can grant long-term reservations for selected users from the command line.

If you want to grant long-term reservations using an ACL, see Manage long-term records in ACLs.

Turn on long-term license usage

To let users reserve long-term licenses, set the QLS_LONGTERM_USAGE environment variable to yes in the Qt License Server configuration:

In the qt-license-server.service file, set:

Environment="QLS_LONGTERM_USAGE=yes"

In the qt-service.xml file, set:

<env name="QLS_LONGTERM_USAGE" value="yes" />

Remove long-term records

To revoke a user's long-term license and shorten their reservation to the usual length, enter:

./qt-license-server remove-long-term-user --url <URL> --license <number> --userId <ID>
.\qt-license-server.exe remove-long-term-user --url <URL> --license <number> --userId <ID>

Release long-term reservations

To release long-term reservations by their reservation ID, which you get from an active reservations report:

./qt-license-server release-long-term-reservation --url <URL> --reservationId <ID> --userId <ID>
.\qt-license-server.exe release-long-term-reservation --url <URL> --reservationId <ID> --userId <ID>

See also Qt License Server command-line interface and Qt License Server configuration.

© 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.