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":http://qt-project.org/wiki/Building_Qt_5_from_Git didn't take me that far. From here when I run

    @mingw32-make@

    I get this:

    @
    c:\Qt\qt5>mingw32-make
    cd qtbase\ && ( if not exist Makefile c:\Qt\qt5\qtbase\bin\qmake C:\Qt\qt5\qtbas
    e\qtbase.pro -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\src.pro -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\bootstrap.pro -o Makefile ) && mingw32-make -f Ma
    kefile
    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

    c:\Qt\qt5>@



  • The offending line is the result of a "change":http://qt.gitorious.org/qt/qtbase/commit/cb22d3bbba7bf7938561f7093ebaed92e6111f02 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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.