Need help to build WebEngine module



  • Have trouble to build WebEngine module. Need to compile the 5.7.0 branch with the https://bugreports.qt.io/browse/QTBUG-53411 patch applied. We have memory leak problem with QT 5.6.0 when we use video tag to play WebM format video.

    We used the following batch file to build the module but failed with many errors:
    set MSVC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0
    set QMAKESPEC=win32-msvc2013
    set QT5_SRC_PATH=D:\qt-everywhere-opensource-src-5.7.0
    set QT5_INSTALL_PATH=D:\Qt\Qt5.7.0-win32-vs2013-web
    set PERL_PATH=C:\Perl64
    set PYTHON_PATH=C:\Python35
    set RUBY_PATH=C:\Ruby23-x64
    set WIN_FLEX_BISION_PATH=%QT5_SRC_PATH%\gnuwin32\bin
    set ICU_PATH=C:\icu
    set OPENSSL_PATH=C:\usr\local\ssl
    set PATH=%QT5_SRC_PATH%\qtbase\bin;%QT5_SRC_PATH%\qtbase\lib;%QT5_SRC_PATH%\gnuwin32\bin;%RUBY_PATH%\bin;%PATH%
    set PATH=%PATH%;%PERL_PATH%\bin;%PYTHON_PATH%
    set LIB=%LIB%;%ICU_PATH%\lib;%OPENSSL_PATH%\lib
    set INCLUDE=%INCLUDE%;%ICU_PATH%\include;%OPENSSL_PATH%\include
    set PATH=%PATH%;%ICU_PATH%\bin;%OPENSSL_PATH%\bin;%ICU_PATH%\lib
    call "%MSVC_PATH%\VC\vcvarsall.bat" x86
    call %QT5_SRC_PATH%\configure -prefix %QT5_INSTALL_PATH% -debug-and-release -opensource -confirm-license -platform win32-msvc2013 -target xp -opengl dynamic -mp -icu -openssl -nomake examples -nomake tests -no-directwrite
    nmake
    nmake install
    xcopy /y /k "%ICU_PATH%\bin\icudt56.dll" "%QT5_INSTALL_PATH%\bin"
    xcopy /y /k "%ICU_PATH%\bin\icuin56.dll" "%QT5_INSTALL_PATH%\bin"
    xcopy /y /k "%ICU_PATH%\bin\icuuc56.dll" "%QT5_INSTALL_PATH%\bin"
    xcopy /y /k "%ICU_PATH%\lib\icudt.lib" "%QT5_INSTALL_PATH%\lib"
    xcopy /y /k "%ICU_PATH%\lib\icuin.lib" "%QT5_INSTALL_PATH%\lib"
    xcopy /y /k "%ICU_PATH%\lib\icuuc.lib" "%QT5_INSTALL_PATH%\lib"
    xcopy /y /k "%OPENSSL_PATH%\bin\libeay32.dll" "%QT5_INSTALL_PATH%\bin"
    xcopy /y /k "%OPENSSL_PATH%\bin\ssleay32.dll" "%QT5_INSTALL_PATH%\bin"
    xcopy /y /k "%OPENSSL_PATH%\lib\libeay32.lib" "%QT5_INSTALL_PATH%\lib"
    xcopy /y /k "%OPENSSL_PATH%\lib\ssleay32.lib" "%QT5_INSTALL_PATH%\lib"
    pause

    Please help. Thank you for the help.



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