From 5630f3958b0b7e5d2cd1f035c3b35564e9800f18 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 26 Jan 2025 14:01:42 +1000 Subject: [PATCH] Qt: Fix loading webp images on Windows --- src/duckstation-qt/CMakeLists.txt | 4 ++-- src/util/util.props | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/duckstation-qt/CMakeLists.txt b/src/duckstation-qt/CMakeLists.txt index ddb6e956a..73e3e4686 100644 --- a/src/duckstation-qt/CMakeLists.txt +++ b/src/duckstation-qt/CMakeLists.txt @@ -214,8 +214,8 @@ if(WIN32) #set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations") set(DEPS_TO_COPY cpuinfo.dll discord-rpc.dll dxcompiler.dll dxil.dll freetype.dll harfbuzz.dll jpeg62.dll libpng16.dll - libsharpyuv.dll libwebp.dll lunasvg.dll SDL3.dll shaderc_shared.dll soundtouch.dll spirv-cross-c-shared.dll - zlib1.dll zstd.dll) + libsharpyuv.dll libwebp.dll libwebpdemux.dll libwebpmux.dll lunasvg.dll SDL3.dll shaderc_shared.dll + soundtouch.dll spirv-cross-c-shared.dll zlib1.dll zstd.dll) foreach(DEP ${DEPS_TO_COPY}) list(APPEND DEP_BINS "${CMAKE_PREFIX_PATH}/bin/${DEP}") endforeach() diff --git a/src/util/util.props b/src/util/util.props index b36818eb0..121cf8473 100644 --- a/src/util/util.props +++ b/src/util/util.props @@ -39,6 +39,8 @@ + +