Fail to build WEBENGINE



  • Hi all,

    Can you help me?

    I fail to built QtWebEngine on Windows? I oprate with windows7 and vs2013.

    I'm a beginner For qt.And i need to using WebEngine in my project.

    I installed ActivePerl 5.24 ,Ruby22-x64,Python35,MS SDK8,MS SDK7,PuTTY-0.67 suit ,openSSL ,ICU from http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2013.

    I got QT src by Git :

    git clone git://code.qt.io/qt/qt5.git qt5
    cd qt5
    git checkout dev
    perl init-repository —module-subset=qtbase,qtxmlpatterns,qtdeclarative,qtquickcontrols,qtwinextras,qtwebengine
    

    and Setting up dependencies manually
    This is my Full build.cmd:

    @echo off
    set _QTDRIVE=h:
    rem  set _QTROOT=c:\Users\Administrator.USER-20160413IK\qt5
    set _QTROOT=H:\qt\qt5.6.1
    set _SDK8=C:\Progra~2\Windows Kits\8.0
    set _Vss2013=D:\oracle\vss2013
    set pathPrefix=f:\qt\WebEngine
    SET PATH=C:\Windows;C:\Windows\system32;
    set PATH=%_Vss2013%\Common7\IDE;%PATH%
    
    set INCLUDE=%_SDK8%\Include;%_Vss2013%;%_Vss2013%\VC\include;%INCLUDE%
    
    set PATH=%_Vss2013%;%_Vss2013%\VC\bin;%PATH%
    set LIB=%_Vss2013%\VC\lib;%_SDK8%\Lib\x64;%LIB%
    
    %_QTDRIVE%
    cd %_QTROOT%
    set GYP_DEFINES=windows_sdk_path="%_SDK8%\bin"
    set GYP_MSVS_VERSION=2013 #2012e or 2013e. For full version, remove the e
    set GYP_MSVS_OVERRIDE_PATH=%_Vss2013%
    set GYP_GENERATORS=ninja
    set GYP_PARALLEL=1
    set WDK_DIR=%_SDK8%
    set WindowsSDKDir=%_SDK8%
    set PATH=%pathPrefix%\bin;%_Vss2013%\VC\redist\Debug_NonRedist\x64\Microsoft.VC120.DebugCRT;%_Vss2013%\VC\redist\Debug_NonRedist\x86\Microsoft.VC120.DebugCRT;%_Vss2013%\VC\redist\x64\Microsoft.VC120.CRT;%_Vss2013%\VC\redist\x86\Microsoft.VC120.CRT;%PATH%
    CALL "%_Vss2013%\VC\vcvarsall.bat"  x86
    
    SET PATH=%_SDK8%\Bin;%PATH%
    SET INCLUDE=%_SDK8%\Include;%INCLUDE%
    SET LIB=%_SDK8%\Lib;%LIB%
    SET CL=/D_USING_V120_SDK71_;%CL%
    
    SET PATH=C:\Ruby22-x64\bin;C:\Perl64\bin;C:\Program Files\Python35;C:\Program Files (x86)\PuTTY\;%PATH%
    
    SET _ROOT=%_QTROOT%
    SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
    SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
    SET QMAKESPEC=win32-msvc2013
    SET _ROOT=
    
    REM ICU
    SET INCLUDE=H:\qt\icu53_1\include;%INCLUDE%
    SET LIB=H:\qt\icu53_1\lib;%LIB%
    SET PATH=H:\qt\icu53_1\lib;H:\qt\icu53_1\BIN;%PATH%
    
    rem openGl
    SET PATH=H:\qt\opengl32sw-32-mesa;%PATH%
    
    rem openSSL 
    SET INCLUDE=H:\qt\openssl_x86\include;%INCLUDE%
    SET LIB=H:\qt\openssl_x86\lib;%LIB%
    SET PATH=H:\qt\openssl_x86\lib;H:\qt\openssl_x86\BIN;%PATH%
    
    REM  DirectX SDK
    set PATH=%_SDK8%\Redist\D3D\x86;%PATH%
    
    set OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto'
    
    SET INCLUDE=%INCLUDE%;%_sdk8%\..\8.1\Include\um;%_sdk8%\..\8.1\Include\shared;%_sdk8%\Include
    
    call configure -icu -openssl-linked -nomake tests -nomake examples -opensource -confirm-license -debug -opengl es2 -angle -platform %QMAKESPEC% -prefix %pathPrefix% 
    rem > h:\config_%CurDateTime%.log
    nmake > h:\nmake_%CurDateTime%.log
    nmake install 
    
    

    It is success for compilation and installation.But in I can't find the WEBENGINE related lib in installed directory.

    Message about webengine in my logfile is

    cd qtwebengine\ && ( if not exist Makefile H:\qt\qt5.6.1\qtbase\bin\qmake H:\qt\qt5.6.1\qtwebengine\qtwebengine.pro -o Makefile ) && D:\oracle\vss2013\VC\BIN\nmake.exe -f Makefile
    Info: creating cache file H:\qt\qt5.6.1\qtwebengine\.qmake.cache
    	cd qtwebview\ && ( if not exist Makefile H:\qt\qt5.6.1\qtbase\bin\qmake H:\qt\qt5.6.1\qtwebview\qtwebview.pro -o Makefile ) && D:\oracle\vss2013\VC\BIN\nmake.exe -f Makefile
    Info: creating cache file H:\qt\qt5.6.1\qtwebview\.qmake.cache
    "Some of the required modules (android|ios|winrt|osx_webview_experimental|qtHaveModule(webengine)) are not available."
    "Skipped."
    

Log in to reply
 

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