title: Promoting widgets in Qt Creator
body: <p>Qt creator has option to promote one widget to customly created class that derives from base widget - I want to use that to promote widget to class in current project. Qt creator asks me about class name and header filename, and those value go directly to <em>*.ui</em> file, and then to <em>ui_myform.h</em> - the problem is that this file might be (and usually is) generated outside source tree (in build tree) which can be at arbitrary location, so direct specification of path in promoting window will not help. How to let QtCreator/uic know where to look for right header? Is it even possible?</p>
  
  <p>Perhaps there is some Qt variable specyfying location of source tree, that I could insert in header filename field?</p>
  
  <p>I am using self-compiled QtCreator 2.0.1 + self-compiled Qt 4.7.1.</p>
  
  <p>EDIT:</p>
  
  <blockquote>
    <p>Why can't you just type in the complete path name of the header file?</p>
  </blockquote>
  
  <p>What if I will move source tree, or even share it on the web - then everybody who wants to compile my project would have to edit this path either in Qt creator or in source files - both are unacceptable.</p>