Important: Please read the Qt Code of Conduct -

WebEngine from self-build Qt 5.12.4 with -webengine-proprietary-codecs fails

  • There is an issue with building Qt 5.12.4 (32 bit) with enable proprietary codecs. Linked against OpenSSL 1.1.1 installed from Qt online installer. Platform Windows 10 x64, used Visual Studio 2017 Community Edition. Additionally installed git, flex, bison, gperf, Strawberry Perl. Configured with commands:

    call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_x86
    SET _ROOT=C:\Qt-build\qt5
    SET PATH=%_ROOT%\qtbase;%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;C:\Qt\Tools\QtCreator\bin;%PATH%;C:\Program Files\Git\usr\bin
    SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
    SET _ROOT=
    SET PATH=C:\Python27;%PATH%
    C:\Qt-build\qt5\configure -webengine-proprietary-codecs -shared -opensource -platform win32-msvc -nomake tests -nomake examples -confirm-license -prefix C:\Qt\5.12.4\msvc2017_32 -openssl-linked -I c:\Qt\Tools\OpenSSL\Win_x86\include -L c:\Qt\Tools\OpenSSL\Win_x86\lib OPENSSL_LIBS="libssl.lib libcrypto.lib"

    After run build


    Build started. And after finish run install:

    nmake install
    cd qtwebengine
    nmake install

    All build and installation without visible errors.

    When I build example simplebrowseragainst Qt from C:\Qt\5.12.4\msvc2017_32 (copied SSL libs from c:\Qt\Tools\OpenSSL\Win_x86 to executable directory) it fails on start (any opening or refresh page) with message box

    0_1566574508466_2019-08-23 18_25_07-Qt Simple Browser.png

    Any help is appreciated.