Hi,

I am trying to build Qt 5.7.1 statically on Windows 7 for deployment purposes. The build process stops with the following messages :

Qt Code:
  1. Makefile.Release:1337: recipe for target '.moc/release/moc_qabstractanimation.cpp' failed
  2. mingw32-make[4]: *** [.moc/release/moc_qabstractanimation.cpp] Error -1073741511
  3. mingw32-make[4]: Leaving directory 'C:/Qt/src/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib'
  4. Makefile:34: recipe for target 'release' failed
  5. mingw32-make[3]: *** [release] Error 2
  6. mingw32-make[3]: Leaving directory 'C:/Qt/src/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib'
  7. Makefile:165: recipe for target 'sub-corelib-make_first' failed
  8. mingw32-make[2]: *** [sub-corelib-make_first] Error 2
  9. mingw32-make[2]: Leaving directory 'C:/Qt/src/qt-everywhere-opensource-src-5.7.1/qtbase/src'
  10. Makefile:42: recipe for target 'sub-src-make_first' failed
  11. mingw32-make[1]: *** [sub-src-make_first] Error 2
  12. mingw32-make[1]: Leaving directory 'C:/Qt/src/qt-everywhere-opensource-src-5.7.1/qtbase'
  13. Makefile:73: recipe for target 'module-qtbase-make_first' failed
  14. mingw32-make: *** [module-qtbase-make_first] Error 2
To copy to clipboard, switch view to plain text mode 

Platform :
  • Windows 7 64 bits
  • Qt 5.7.1
  • MinGW-w64, gcc v6.2.0, mingw32-make v4.1


Configure options :
Qt Code:
  1. ./configure -prefix ../../Static/Qt5.7.1/ -platform win32-g++ -release -static -opensource -confirm-license -nomake tests -nomake examples
To copy to clipboard, switch view to plain text mode 

Any idea ?