diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qt5-webengine/workaround-protobuf-issue.patch | |
Diffstat (limited to 'vcpkg/ports/qt5-webengine/workaround-protobuf-issue.patch')
| -rw-r--r-- | vcpkg/ports/qt5-webengine/workaround-protobuf-issue.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-webengine/workaround-protobuf-issue.patch b/vcpkg/ports/qt5-webengine/workaround-protobuf-issue.patch new file mode 100644 index 0000000..d23c26e --- /dev/null +++ b/vcpkg/ports/qt5-webengine/workaround-protobuf-issue.patch @@ -0,0 +1,17 @@ +diff --git a/src/core/core_chromium.pri b/src/core/core_chromium.pri +index a846f2fbc..102ec9ace 100644 +--- a/src/core/core_chromium.pri ++++ b/src/core/core_chromium.pri +@@ -32,6 +32,12 @@ isUniversal() { + # whenever we are cross compiling. + qtConfig(webengine-embedded-build): DEFINES += QTWEBENGINE_EMBEDDED_SWITCHES + ++# Prepend Chromium's protobuf and abseil-cpp include directories to the include paths ++# to ensure we use chromiums own copies instead of vcpkg provided libraries. ++# See https://github.com/microsoft/vcpkg/issues/12150 ++CHROMIUM_SRC_DIR = $$QTWEBENGINE_ROOT/$$getChromiumSrcDir() ++INCLUDEPATH = $$CHROMIUM_SRC_DIR/third_party/protobuf/src $$CHROMIUM_SRC_DIR/third_party/abseil-cpp $$INCLUDEPATH ++ + INCLUDEPATH += $$PWD $$PWD/api + + clang_cl { |