Details
-
Task
-
Resolution: Fixed
-
P1: Critical
-
None
-
3.3.2
-
None
-
-
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.