Build Qt 5 from git using MinGW under Windows 7

  • Could anyone enlighten me about this error I am getting?

    I installed everything needed, cloned Qt 5 from git and configured using

    @configure -developer-build -opensource -no-webkit -opengl desktop -confirm-license@

    Now, I had to copy a buch of files as the "tutorial": didn't take me that far. From here when I run


    I get this:

    cd qtbase\ && ( if not exist Makefile c:\Qt\qt5\qtbase\bin\qmake C:\Qt\qt5\qtbas
    e\ -o Makefile ) && mingw32-make -f Makefile
    Info: creating cache file C:/Qt/qt5/qtbase/.qmake.cache
    mingw32-make[1]: Entering directory 'c:/Qt/qt5/qtbase'
    cd src\ && ( if not exist Makefile c:\Qt\qt5\qtbase\bin\qmake C:\Qt\qt5\qtbase\s
    rc\ -o Makefile ) && mingw32-make -f Makefile
    mingw32-make[2]: Entering directory 'c:/Qt/qt5/qtbase/src'
    cd tools\bootstrap\ && ( if not exist Makefile c:\Qt\qt5\qtbase\bin\qmake C:\Qt
    qt5\qtbase\src\tools\bootstrap\ -o Makefile ) && mingw32-make -f Ma
    C:/Qt/qt5/qtbase/mkspecs/features/qt_module_headers.prf:29: Unexpected return().

    mingw32-make[3]: Entering directory 'c:/Qt/qt5/qtbase/src/tools/bootstrap'
    mingw32-make -f Makefile.Release
    mingw32-make[4]: Entering directory 'c:/Qt/qt5/qtbase/src/tools/bootstrap'
    Makefile.Release:229: *** missing separator. Stop.
    mingw32-make[4]: Leaving directory 'c:/Qt/qt5/qtbase/src/tools/bootstrap'
    Makefile:34: recipe for target 'release' failed
    mingw32-make[3]: *** [release] Error 2
    mingw32-make[3]: Leaving directory 'c:/Qt/qt5/qtbase/src/tools/bootstrap'
    Makefile:58: recipe for target 'sub-bootstrap-make_first' failed
    mingw32-make[2]: *** [sub-bootstrap-make_first] Error 2
    mingw32-make[2]: Leaving directory 'c:/Qt/qt5/qtbase/src'
    Makefile:42: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'c:/Qt/qt5/qtbase'
    makefile:57: recipe for target 'module-qtbase-make_first' failed
    mingw32-make: *** [module-qtbase-make_first] Error 2


  • The offending line is the result of a "change": about a month ago. It relates to an internal use tool called syncqt. As a last resort you could ask the change originators.

Log in to reply