if you're trying to build qtbase with mingw32-make and encounter this problem:

Qt Code:
  1. g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
  2. -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCI
  3. I -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO
  4. _QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT
  5. _NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NODLL -I"..\..
  6. \..\include" -I"..\..\..\include\QtCore" -I"..\..\..\include\QtCore" -I"..\..\..
  7. \include\QtCore\QtCore" -I"..\..\..\include\QtXml" -I"..\..\..\include\QtXml" -I
  8. "..\..\..\include\QtXml\QtXml" -I"c:\bearer\qtbase\src\3rdparty\zlib" -I"c:\bear
  9. er\qtbase\src\tools\bootstrap" -I"." -I"c:\bearer\qtbase\mkspecs\win32-g++" -o t
  10. mp\obj\release_shared\qisciicodec.o c:\bearer\qtbase\src\corelib\codecs\qisciico
  11. dec.cpp
  12. cc1plus.exe: error: ..\..\..\include\QtCore\QtCore: not a directory
  13. cc1plus.exe: error: ..\..\..\include\QtXml\QtXml: not a directory
  14. mingw32-make[2]: *** [tmp/obj/release_shared/qisciicodec.o] Error 1
  15. mingw32-make[2]: Leaving directory `C:/bearer/build/src/tools/bootstrap'
  16. mingw32-make[1]: *** [release] Error 2
  17. mingw32-make[1]: Leaving directory `C:/bearer/build/src/tools/bootstrap'
  18. mingw32-make: *** [sub-tools-bootstrap-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode 

you need to copy all files from src/modules/ into build directory's mkspecs/modules/
and rerun configure again.