How right campile qt5 for Windows/Mingw



  • I want compile qt5 beta2 from source so i have installed
    Perl from: http://www.activestate.com/activeperl/downloads [activestate.com]
    Python from: http://www.python.org/download/releases/ [python.org]
    win32api python http://sourceforge.net/projects/pywin32/files/pywin32/Build 218/pywin32-218.win-amd64-py2.7.exe/download
    mingw from http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-win32/sjlj/
    get directxSDK from http://www.microsoft.com/en-us/download/details.aspx?id=6812

    set QTDIR=C:\devl\qt\5.0.0b2\qtbase
    set PATH=C:\devl\qt\5.0.0b2\qtbase\bin
    set PATH=%PATH%;C:\devl\Python27
    set PATH=%PATH%;C:\devl\Perl\bin
    set PATH=%PATH%;C:\devl\mingw472sjl\bin
    set PATH=%PATH%;%SystemRoot%\System32
    set DXSDK_DIR=C:\devl\directxSDK
    set QMAKESPEC=win32-g++
    set QMAKE_LFLAGS= -static-libgcc -static-libstdc++
    configure -release -opensource -nomake examples -nomake tests -nomake demos -confirm-license
    mingw32-make

    mingw32-make[3]: Entering directory 'c:/devl/Qt/5.0.0b2/qtjsbackend/src/v8'
    mingw32-make -f Makefile.Release
    mingw32-make[4]: Entering directory 'c:/devl/Qt/5.0.0b2/qtjsbackend/src/v8'
    python C:/devl/Qt/5.0.0b2/qtjsbackend/src/v8/../3rdparty/v8/tools/js2c.py genera
    ted-release/libraries.cpp CORE off C:/devl/Qt/5.0.0b2/qtjsbackend/src/v8/../3rdp
    arty/v8/src/macros.py ..\3rdparty\v8\src\runtime.js ..\3rdparty\v8\src\v8natives
    .js ..\3rdparty\v8\src\array.js ..\3rdparty\v8\src\string.js ..\3rdparty\v8\src
    uri.js ..\3rdparty\v8\src\math.js ..\3rdparty\v8\src\messages.js ..\3rdparty\v8
    src\apinatives.js ..\3rdparty\v8\src\date.js ..\3rdparty\v8\src\regexp.js ..\3rd
    party\v8\src\json.js ..\3rdparty\v8\src\liveedit-debugger.js ..\3rdparty\v8\src
    mirror-debugger.js ..\3rdparty\v8\src\debug-debugger.js
    ImportError: No module named site
    Makefile.Release:380: recipe for target 'generated-release/libraries.cpp' failed

    mingw32-make[4]: *** [generated-release/libraries.cpp] Error 1
    mingw32-make[4]: Leaving directory 'c:/devl/Qt/5.0.0b2/qtjsbackend/src/v8'
    Makefile:33: recipe for target 'release' failed
    mingw32-make[3]: *** [release] Error 2
    mingw32-make[3]: Leaving directory 'c:/devl/Qt/5.0.0b2/qtjsbackend/src/v8'
    Makefile:81: recipe for target 'sub-v8-make_first-ordered' failed
    mingw32-make[2]: *** [sub-v8-make_first-ordered] Error 2
    mingw32-make[2]: Leaving directory 'c:/devl/Qt/5.0.0b2/qtjsbackend/src'
    Makefile:38: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'c:/devl/Qt/5.0.0b2/qtjsbackend'
    makefile:125: recipe for target 'module-qtjsbackend-make_first' failed
    mingw32-make: *** [module-qtjsbackend-make_first] Error 2

    Can samebody help me?


Log in to reply
 

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