title: How to enable QtScript in your project when using MS Visual Studio compiler?
body: <p>With QMake, the setup for QtScript is as simple as adding this to your <code>.pro</code> file:</p>
  
  <pre><code>QT += script
  </code></pre>
  
  <p>But we'e using MS Visual Studio for the project. What do I change to make Visual Studio recognize includes for QtScript? Currently, it reports that the files were not found:</p>
  
  <pre><code>#include &lt;QScriptEngine&gt;
  #include &lt;QScriptValue&gt;
  </code></pre>
  
  <blockquote>
    <p>fatal error C1083: Cannot open include file: '<code>QScriptValue</code>': No such file or directory</p>
  </blockquote>
  
  <p>I use the Qt add-in for visual studio. I have checked the script option there - well actually it <strong>was checked already</strong> - but that didn't solve the problem:</p>
  
  <p><img src="https://i.stack.imgur.com/PJFHo.png" alt="image description"></p>