Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1466

Newer CIP can use older daemon

    XMLWordPrintable

Details

    • Windows
    • License server development 36, License server development 37

    Description

      It seems a newer version of CIP can use an older daemon if the daemon is already running.
      For example, an app linked against CIP 3.3.0 can use the daemon from 3.2.1 if it is already running.
      Just it cannot start it if the daemon is not already running.

      Steps to reproduce

      • install Qt and Qt Creator that have QLS daemon 3.2.1
      • just unzip somewhere QLS service 3.3.0 (don't register the daemon that comes with)
      • start Qt Creator
      • run qtlicensetool.exe -D
      • run qtlicensetool.exe -r

      The output should look like:

      C:\Users\autotest\Desktop\qls-service-3.3.0>qtlicensetool.exe -D
      Qt License service (daemon) v3.2.1
      
      C:\Users\autotest\Desktop\qls-service-3.3.0>qtlicensetool.exe -r
      Current reservations:
      --- License ID **** ---
      User ID: ***
      Valid to date: 2024-12-31
      ...
      

      Which should not be happening since this qtlicensetool is linked against CIP 3.3.0

      If Qt Creator is not running qtlicensetool.exe -D outputs the correct:

      C:\Users\autotest\Desktop\qls-service-3.3.0>qtlicensetool.exe -D
      Could not find license service installation matching the criteria for version "3.3.0". The service version may be too old, or there is no installation registered in "C:\Users\autotest\AppData\Roaming\Qt\qtlicd\installations.ini".
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QLS-1466
          # Subject Branch Project Status CR V

          Activity

            People

              arttu.tarkiainen Arttu Tarkiainen
              slobodan Slobodan Vrkacevic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change