Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Build Qt 5 from git using MinGW under Windows 7
QtWS25 Last Chance

Build Qt 5 from git using MinGW under Windows 7

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maissiou23
    wrote on last edited by
    #1

    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>@

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved