title: Cannot Run Compiler 'cl' for qt5.10.1 on Windows 10 in terminal
body: <p>I have never used qt before, but I got a task to build an already existing application for Windows and Mac using the newest version of qt. What I have done so far is: </p>
  
  <ol>
  <li>Installed Visual Studio Professional 2017. </li>
  <li>Installed the latest Qt 5 Open Source. </li>
  </ol>
  
  <p>Note: when installing the QT 5 I installed all of the components under QT/ QT 5.10.1 which were: <a href="https://i.stack.imgur.com/AH5he.png" rel="nofollow noreferrer">qt 5.10.1 components</a> and under QT/Tools I installed QT Creator 4.6.0 CDB Debugger Support and  MinGW 5.3.0 : <a href="https://i.stack.imgur.com/lTB9c.png" rel="nofollow noreferrer">qt 5 Tools</a></p>
  
  <ol start="4">
  <li>I cloned the branch from GitHub that I wanted to build to C:/Projects</li>
  <li>Then in Git Bash I cd to the project and tried to run qmake. The first time I had this problem: 
  "bash: qmake: command not found"
  After searching into the problem I found out that I haven't added "Qt/5.10.1/msvc2017_64/bin" to PATH and I added it. Now when I echo $PATH I can see the directory added. </li>
  <li>Now after bash recognises qmake and I try to run it it says: </li>
  </ol>
  
  <h1>    Project ERROR: Cannot run target compiler 'cl'. Output:</h1>
  
  <p>===================
  Maybe you forgot to setup the environment?</p>
  
  <p>I have no idea how to fix the problem due to the fact that I have never used QT to build anything before. Can you help me? </p>
  
  <p>In the read me file for the application I am trying to build it says: </p>
  
  <blockquote>
    <p><strong>Step-by-step instructions</strong>
    1. Clone this branch
    2. cd into the project
    3. Run qmake - this wil generate Makefiles for all of the project's modules
    4.Run make (Use the -j4 of -j flags - this greatly speeds up the build process - see the manual page for make for more info). You can also use the -s flag to silence the output - this also wins you a few seconds.</p>
  </blockquote>
  
  <p>I am a bit puzzled by the instructions, it does not say to run qmake -project anywhere, but there is a qt project file in the directory that I cd to. Does this mean that I don't have to run qmake -project?</p>
  
  <p>Also I have no idea how to run make by using the -j4 and -j flags and how to run flags in general. Could someone help me?  </p>
  
  <p>I believe that for the Cannot Run Compiler 'cl' issue I have some kind of a problem with the set up. Did I install too many components or is it to do with the VS setup? </p>