title: How to compile Qt as static
body: <p>I am currently writing code in Qt. How to compile the code statically?</p>
  
  <p>From Qt document I came to know the following step</p>
  
  <p>1) Visual Studio 2008 -> commandPrompt -> QtDir -> configure -static -> nmake</p>
  
  <p>But, it took 17 GB and at the end it exited before the completion stating that "the space is not enough".</p>
  
  <p>Is there any simple way to compile the Qt application as a stand alone program?</p>