title: Environment variable overridden in Visual Studio?
body: <p>I'm using Visual Studio Express 2013 and trying to compile someone else's code. The documentation tells me to set the environment variable QTDIR in the command line and then launch VS from that terminal. But the compiler still thinks QTDIR is what it originally was instead of what I specified in the command line. </p>
  
  <p>I've tried to restart the computer and do it again, but the result didn't change. I looked into the project properties, but found nothing that seems to be overriding this variable. And when I clicked the  "Macros>>" button in dialogs such as the editing additional include directories dialog, it says QTDIR is what it was originally. (Weirdly: this happens only to one project in the solution; when I opened the Macros>> from other projects, QTDIR is what I specified in the command line!)</p>
  
  <p>So I was wondering if there is something that can override an environment variable like this in Visual Studio. Thanks!</p>
  
  <ul>
  <li>Edit: The confusing part is when I looked at the property pages of the projects, under <code>Common Properties &gt;&gt; User Macros</code> and there's nothing defined there.</li>
  </ul>