Build Qt 5.6.0 RC, configure.exe doesn't generate any makefile



  • Hi,
    I'm trying to build Qt 5.6.0 RC through those steps:
    http://pempek.net/articles/2015/10/18/compiling-qt-5-5-1-with-visual-studio-2015/
    and I'v upgrade ICU to 56.1 and test MSVC2010 and 2015, in all the cases, configure.exe will generate no makefile, and gives no error message or other information, it just says:
    "Attempting to skip non-existent module qtwebkit-examples."

    The -verbose option doesn't work, it will not give me more information.

    Please give me your advice, I'll try.
    Does any one has successfully build Qt 5.6.0 RC with MSVC 2010 or 2015?

    Bob



  • My build script:

    REM Set up \Microsoft Visual Studio 2015
    CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
    ECHO ON

    SET _CD=%CD%
    SET _PATH=%PATH%
    SET _PROJECT=C:\ABC\Projects\Qt5.6.0RC

    SET ICU_SOURCE=%_PROJECT%\icu4c-56_1-src\icu\source
    SET ICU_DIST=%_PROJECT%\TBDBuild\MSVC2015\OutX32\ICU56.1
    SET QT_SOURCE=%_PROJECT%\qt-everywhere-opensource-src-5.6.0-rc
    SET QT_BUILD=%_PROJECT%\TBDBuild\MSVC2015\TempX32\Qt5.6.0RC
    SET QT_DIST=%_PROJECT%\TBDBuild\MSVC2015\OutX32\Qt5.6.0RC

    REM Building ICU

    RD /s /q %ICU_SOURCE%\lib
    RD /s /q %ICU_SOURCE%\bin
    RD /s /q %ICU_DIST%

    SET PATH=%PATH%;C:\cygwin64\bin

    CD /D %ICU_SOURCE%
    dos2unix *
    dos2unix -f configure
    for /F %%P in ('cygpath -u %ICU_DIST%') do bash runConfigureICU Cygwin/MSVC -prefix=%%P

    make clean
    make && make install

    CD /D %_CD%
    SET PATH=%_PATH%

    SET PATH=%PATH%;%ICU_DIST%\bin;%ICU_DIST%\lib
    SET INCLUDE=%INCLUDE%;%ICU_DIST%\include
    SET LIB=%LIB%;%ICU_DIST%\lib

    REM Building Qt

    SET PATH=C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH%
    CALL C:\Ruby22-x64\bin\setrbvars.bat
    ECHO ON

    SET PATH=%QT_SOURCE%\qtbase\bin;%QT_SOURCE%\gnuwin32\bin;%PATH%
    REM Uncomment the below line when using a git checkout of the source repository
    REM SET PATH=%QT_SOURCE%\qtrepotools\bin;%PATH%
    SET QMAKESPEC=win32-msvc2015

    RD /s /q %QT_BUILD%
    MKDIR %QT_BUILD%
    CD /D %QT_BUILD%

    CALL %QT_SOURCE%\configure -confirm-license -prefix %QT_DIST% -mp -debug-and-release -icu -opengl dynamic -nomake examples -nomake tests -skip qtwebkit-examples -opensource
    ECHO ON

    nmake && nmake install
    nmake docs && nmake install_docs

    CD /D %_CD%

    COPY /V /Y %ICU_DIST%\lib\icudt56.dll %QT_DIST%\bin
    COPY /V /Y %ICU_DIST%\lib\icuin56.dll %QT_DIST%\bin
    COPY /V /Y %ICU_DIST%\lib\icuuc56.dll %QT_DIST%\bin\



  • My build log:

    http://pan.baidu.com/s/1i3Rec8t

    it is too long to be post here, and I don;t know how to attach a file in the post.


Log in to reply
 

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