title: How to make QtLinguist shipped with Qt 5.9.1 work?
body: <p><strong>Goal:</strong> Generate/update the *.ts files of a Qt widgets app using <em>lupdate</em>.</p>
  
  <p><strong>Setup:</strong></p>
  
  <ul>
  <li>Windows 7 Pro 64 (tried on Windows 10 Home as well)</li>
  <li>Qt 5.9.1 Prebult Components for msvc2017 64-bit,</li>
  <li>Visual Studio Community 2017.</li>
  </ul>
  
  <p><strong>The problem:</strong> I have run <em>lupdate</em> from the <em>QtCreator</em>, as well as manually from the console, but in neither case it is working. The message is:</p>
  
  <blockquote>
    <p>Starting external tool
    "C:\Qt\Qt5.9.1\5.9.1\msvc2017_64\bin\lupdate.exe"
    C:/Documents/Projects/untitled1/untitled1.pro WARNING: Project ERROR:
    Cannot run compiler 'cl'. Maybe you forgot to setup the environment?</p>
    
    <p>"C:\Qt\Qt5.9.1\5.9.1\msvc2017_64\bin\lupdate.exe" finished</p>
  </blockquote>
  
  <p><strong>Otherwise the project is compiled, run and debugged without problems with the kit: <em>Desktop Qt 5.9.1 MSVC2017 64bit (default)</em>, which is the reason I think the environment is properly set up.</strong></p>
  
  <p>I can't find any information regarding this issue. Any ideas how to make <em>lupdate</em> work?</p>
  
  <p>EDIT: I am adding screenshots of the current setup (which is made by the Qt installer) in attempt to clarify why I believe the environment is properly set up:</p>
  
  <p>kits</p>
  
  <p><img src="https://i.stack.imgur.com/ooxOU.png" alt=""></p>
  
  <p>cmake configuration</p>
  
  <p><img src="https://i.stack.imgur.com/fUdl6.png" alt=""></p>
  
  <p><img src="https://i.stack.imgur.com/tdKvF.png" alt=""></p>