microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
21.76k stars 6.05k forks source link

[qtwebengine] build completes without errors but the core Qt6WebEngine module is not being built #38503

Open tsondergaard opened 2 weeks ago

tsondergaard commented 2 weeks ago

Describe the bug qtwebengine doesn't detect that the core Qt6WebEngine module isn't being built

This can happen in different situations where the detection of a dependency fails. The underlying issue is the qtwebengine build system allows some modules to fail to build without the configure script returning an error code. #38497 provides a repro example for this where the trigger is that the ffmpeg version in the current baseline is too new for qtwebengine and it prints this message while still returning 0 as exit code from the configure step:

WARNING: QtWebEngine won't be built. Unmodified ffmpeg >= 5.0 is not supported.

The Vcpkg port patch the Qt configure script to make that warning fatal.

Neumann-A commented 2 weeks ago

Patch for ffmpeg is here: https://aur.archlinux.org/cgit/aur.git/tree/040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch?h=ffmpeg-intel-full-git