[Interest] Where to does Qt expect to find ".qt-license" file when running on a Jenkins slave machine?

Edward Sutton edward.sutton at subsite.com
Thu Jul 2 15:49:50 CEST 2015


Kai,

Thank you for your help.

On a Windows 7 VM machine it installs to:

 C:\Users\edward3\.qt-license


When logged on as edward3 all is good.


This same machine operates as a Jenkins slave.

Dumping the environment from the Jenkins job:

 USERDOMAIN=WORKGROUP
 USERNAME=WIN7X64-ESUTTON$
 USERPROFILE=C:\Windows\system32\config\systemprofile

I tried copying C:\Users\edward3\.qt-license to the following without success:

  C:\Windows\System32\config\systemprofile\AppData\Roaming\Qt\.qt-license
  C:\Windows\System32\config\systemprofile\.qt-license
  C:\jenkins\.qt-license

I had the slave building before using Qt Enterprise. What could have changed I do no know?


-Ed


On Jul 2, 2015, at 1:33 AM, Koehne Kai <Kai.Koehne at theqtcompany.com<mailto:Kai.Koehne at theqtcompany.com>> wrote:



-----Original Message-----
From: interest-bounces+kai.koehne=theqtcompany.com at qt-project.org<mailto:interest-bounces+kai.koehne=theqtcompany.com at qt-project.org>
[mailto:interest-bounces+kai.koehne=theqtcompany.com at qt-project.org]
On Behalf Of Edward Sutton
Sent: Wednesday, July 01, 2015 10:01 PM
To: Interests Qt
Subject: [Interest] Where to does Qt expect to find ".qt-license" file when
running on a Jenkins slave machine?

After updating a Windows 7 VM Jenkins build slave to Qt Enterprise 5.5.0, Qt
can not longer find the license?


When logged on as myself, I can build a project fine using Qt 5.5.0 with Qt
creator without license issues.

I can see my license file:

C:\User\myUsername\.qt-license


I am running Jenkins slave as a Windows service.

Where does Qt expect to find ".qt-licenseā€ file ?

For Window,s it searches it in

%USERPROFILE%\AppData\Roaming\Qt
%HOME%
%USERPROFILE%
%HOMEDRIVE%\%HOMEPATH%

So it's bound to the specific user.

Hope this helps,

Kai

This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150702/bb946a1f/attachment.html>


More information about the Interest mailing list