title: compiling qt 4.7.3 on mingw32 with gcc 4.6.0
body: <p>I am trying to compile Qt 4.7.3 on mignw32 using gcc 4.6.0.
  I get the following error when running ./configure:</p>
  
  <pre><code>In file included from C:/work/qt-gcc-4.6.0/include/QtCore/private/qcore_unix_p.h:1:0,
                   from C:/work/qt-gcc-4.6.0/src/corelib/io/qfsfileengine_unix.cpp:45:
  C:/work/qt-gcc-4.6.0/include/QtCore/private/../../../src/corelib/kernel/qcore_unix_p.h:59:3: error: #error "qcore_unix_p.h included on a non-Unix system"
  </code></pre>
  
  <p>The weird thing is that I am running Windows 7, and it is trying to include that.
  Also in the Makefile it is using  qfsfileengine_unix and qfsfileengine_iterator_unix instead of     qfsfileengine_win and qfsfileengine_iterator_win.</p>
  
  <p>If I change the Makefile to use the Windows' ones, I get the following error (the file does not exist):</p>
  
  <pre><code>In file included from C:/work/qt-gcc-4.6.0/include/QtCore/../../src/corelib/global/qglobal.h:62:0,
                   from C:/work/qt-gcc-4.6.0/include/QtCore/qglobal.h:1,
                   from C:/work/qt-gcc-4.6.0/mkspecs/win32-g++/qplatformdefs.h:53,
                   from C:/work/qt-gcc-4.6.0/src/corelib/io/qfsfileengine_win.cpp:43:
  C:/work/qt-gcc-4.6.0/include/QtCore/qconfig.h:1:46: fatal error: ../../src/corelib/global/qconfig.h: No such file or directory
  compilation terminated.
  </code></pre>
  
  <p>When compiling /qt/src/corelib/io/qfsfileengine_win.cpp</p>
  
  <p>Suggestions?</p>