Hello,
When I try to recompile QtWebEngine with the proprietary codecs
I have an error :
C:\Qt\5.15.2\Src\qtwebengine>"C:\Qt\5.15.2\msvc2019_64\bin\qmake.exe" -- -webengine-proprietary-codecs
Running configuration tests...
Done running configuration tests.
Configure summary:
Qt WebEngine Build Tools:
Use System Ninja ....................... no
Use System Gn .......................... no
Jumbo Build Merge Limit ................ no
Developer build ........................ no
Sanitizer .............................. no
Note: The following modules are not being compiled in this configuration:
webenginecore
webengine
webenginewidgets
pdf
pdfwidgets
WARNING: QtWebEngine requires a Windows SDK version 10.0.18362 or newer.
WARNING: QtPdf requires a Windows SDK version 10.0.18362 or newer.
WARNING: QtWebEngine will not be built.
WARNING: QtPdf will not be built.
Qt is now configured for building. Just run 'nmake'.
Once everything is built, you must run 'nmake install'.
Qt will be installed into 'C:\Qt\5.15.2\msvc2019_64'.
Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
so i add a bat file :
qt5vars.bat to have the path of compilation
@echo off
REM Set up \Microsoft Visual Studio 2019, where <arch> is \c amd64, \c x86, etc.
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_x86 10.0.18362
REM Edit this location to point to the source code of Qt
SET _ROOT=C:\Qt\Qt5.15.2\Src
SET _PYTHON=C:\Python27
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%_ROOT%;%_PYTHON%;%PATH%
SET _ROOT=
SET _PYTHON=
REM Keeps the command line open when this script is run.
cmd /k
I installed all dependancies but it's dont detect Windows SDK