title: Adding Qt moc file to project
body: <p>Is there way to force recompile other projects <code>moc</code> file? I use visual studio, and I got one qt project, where I added other project class with interface and signals/slots (let say <code>thing.cpp</code>, <code>thing.h</code>, </p>
  
  <p><code>ui_thing.h</code>(has been included <code>generated files</code> folder), </p>
  
  <p><code>moc_thing.cpp</code> in  <code>generated files\debug</code> (because of main projects is in debug mode), </p>
  
  <p>and <code>thing.ui</code> into <code>Form files</code>)</p>
  
  <p>It was working ok until I decided made some changes, add some slot/signals stuff.
  As you can guess included <code>moc</code> file does not recompiles. I decided to change some properties of the <code>thing.h</code> . </p>
  
  <p>I copied parameters from the main projects files so
  In the command line part there is </p>
  
  <p><code>"$(QTDIR)\bin\moc.exe"  "$(InputPath)" -o ".\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp"  -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQWT3D_DLL -DQT_DLL -DQT_SVG_LIB -DQT_SCRIPT_LIB -DQT_MULTIMEDIA_LIB  "-I.\parsers" "-I$(QWTDIR)\include" "-I.\ProductionHistory\GeneratedFiles" "-I.\ProductionHistory" "-I.\GeneratedFiles" "-I$(QTDIR)\include" "-I.\GeneratedFiles\$(ConfigurationName)\." "-I$(QTDIR)\include\qtmain" "-I$(QTDIR)\include\QtCore" "-I$(QTDIR)\include\QtSql" "-I$(QTDIR)\include\QtGui" "-I." "-I$(Boost)\." "-I.\well groups widget" "-I.\rules widget" "-I.\gui" "-I$(QTDIR)\include\QtSvg" "-I$(QTDIR)\include\QtScript" "-I$(QTDIR)\include\ActiveQt" "-I$(QTDIR)\include\QtMultimedia"</code></p>
  
  <p>In the output data part <code>".\databaseOpening\GeneratedFiles\$(ConfigurationName)\moc_$(InputName).cpp"</code></p>
  
  <p>In the additional dependencies part there is 
  <code>"$(QTDIR)\bin\moc.exe";
  $(InputPath)</code></p>
  
  <p>But it still not recompiles. Is there way to solve this problem?</p>