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

Populate "mocwrapper_qt_version" file when installing mocwrapper via online installer

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P1: Critical
    • None
    • 3.3.2
    • None
    • All
    • License server development 40, License server development 41, License server development 42, License server development 43, License server development 44, License server development 45, License server development 46, License server development 47

    Description

      Since QLS 3.3.2, the mocwrapper supports sending the actual Qt Framework version in license requests, instead its own version. The mocwrapper will perform the version lookup in the following order:

      • attempt to read "mocwrapper_qt_version" file from the same directory as the mocwrapper executable
        •  the file contains only a version string, i.e. "6.8.2"
      • attempt to read and parse the version from "qconfig.pri" relative to the directory of the mocwrapper
      • if neither succeeds, use a fallback version

      As reading and parsing the "mocwrapper_qt_version" is the first step in the sequence, and the parsing is fastest, it would make sense to populate the file when mocwrapper is installed. This could be done for example in the install script of the mocwrapper component.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            iknd Iikka Eklund
            arttu.tarkiainen Arttu Tarkiainen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes