I am trying to figure out what is needed to compile QtWebEngine properly. On my release build, currently I tried to load www.youtube.com and the QtWebEngineProcess.exe will crash after I saw the youtube page show up for 1 sec.
This is the command and configure that I used.
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
SET _ROOT=F:\lib\Qt\Qt5.13.2\5.13.2\Src
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
configure -opensource -confirm-license -no-icu -opengl desktop -qt-libpng -qt-libjpeg -nomake examples -nomake tests -no-compile-examples -prefix F:\lib\Qt\Qt5.13.2\5.13.2\msvc2019x86 -force-debug-info -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtdatavis3d -skip qtgamepad -skip qtmacextras -skip qtpurchasing -skip qtremoteobjects -skip qtx11extras
nmake
nmake install
Then I build webengine separately.
I create a empty folder and ran the following commands:
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
F:\lib\Qt\Qt5.13.2\5.13.2\msvc2019x86\bin\qmake.exe F:\lib\Qt\Qt5.13.2\5.13.2\Src\qtwebengine -- -webengine-proprietary-codecs
However, I have no crash using the precompiled binaries dll and webengine from Qt website. 32 bits msvc2017. I have some custom changes and fixes so I need to compile QT instead of using the precompiled binaries.
Anyone knows what is the configure used by Qt to compile their precompiled binaries? Thanks.