title: How to compile Qt statically under Windows?
body: <p>After successfully installing the Qt SDK 4.7.4 (MingW) and building an application I can find no way to deploy my program. Qt is really nice, but to deploy under Windows means to leave he surfaced road.</p>
  
  <p>First the executable requires <em>QtCore4.dll</em> plus some other DLLs, but the Creator does not copy them into the deploy folder.  Do I really have to try <em>DEPENDS.EXE</em>, to find out which DLLs are required, and then cull them manually from somewhere under <em>C:/QtSDK</em>?</p>
  
  <p>Be that as it may, preferably I want to link statically. There are few recipes on the net how this can be done (e.g. <a href="https://stackoverflow.com/questions/1011197/qt-static-linking-and-deployment">here</a> and <a href="http://doc.qt.nokia.com/latest/deployment-windows.html" rel="nofollow noreferrer">here</a>). So I launched a Qt 4.7.4 Desktop (MingW) command prompt. The Qt Reference Documentation tells to run <em>CONFIGURE.EXE</em>, but there's no <em>CONFIGURE.EXE</em> and no <em>CONFIGURE.CMD</em>, not under <em>C:/QtSDK</em> and not under <em>C:/</em>.</p>
  
  <p>What am I missing?</p>