title: Qt ui file does not compile in to C++ header
body: <p>I've created a Qt Application project in Visual Studio 2010. It contains the following files</p>
  
  <pre><code>Form Files
    mainwindow.ui
  Header Files
    mainwindow.h
  Source Files
    mainwindow.cpp
  </code></pre>
  
  <p>It also uses a generated codefile called <code>ui_mainwindow.h</code>. From what I've been able to discern, this file should be regenerated in response to changes made to the .ui file. However if I open the ui file in Designer and make a change, no change appears in the application.</p>
  
  <p>I have to go to Form -> View Code -> Save As in Qt Designer and save the ui_mainwindow.h file manually. </p>