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

Registering qtlicd fails if settings folder does not exist

    XMLWordPrintable

Details

    • Windows
    • 459f5e41f (dev), 18e3e67b7 (3.4)
    • License server development 46
    • Windows

    Description

      If the folder %AppData%\Qt\qtlicd does not exist, registering qtlicd will fail.

      This happens with both:

      • usage from command line qtlicd.exe --register <source>
      • using QLicenseCore::InstallationManager::registerInstallation function

      The function returns false, while the binary prints the following error:

      D:\Work\LicenseServerQLS\dev\qls34\release_artifacts\service_artifacts>qtlicd.exe --register squish
      2025-03-05 13:36:20 [ERROR] [inifileparser]: Unable to write section 'D__Work_LicenseServerQLS_dev_qls34_release_artifacts_service_artifacts_qtlicd.exe'. Can't open: C:\Users\Slobodan\AppData\Roaming\Qt\qtlicd\installations.ini.tmp
      2025-03-05 13:36:20 [ERROR] [installationmanager]: Failed to register 'D:\Work\LicenseServerQLS\dev\qls34\release_artifacts\service_artifacts\qtlicd.exe' into: C:\Users\Slobodan\AppData\Roaming\Qt\qtlicd\installations.ini by: squish
      

      Attachments

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

        Activity

          People

            aswalpit Ashan Walpitage
            slobodan Slobodan Vrkacevic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes