From c4c11ad813362c3e96b23b79a4e4ec01f8f7c258 Mon Sep 17 00:00:00 2001 From: evgeny Date: Tue, 6 Oct 2026 19:36:35 +0200 Subject: [PATCH] Build avatar UI and deploy the desktop WebP codec --- tools/chatgui/CMakeLists.txt | 2 ++ tools/chatgui/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/chatgui/CMakeLists.txt b/tools/chatgui/CMakeLists.txt index 0307509e..4e30fe4b 100644 --- a/tools/chatgui/CMakeLists.txt +++ b/tools/chatgui/CMakeLists.txt @@ -180,6 +180,8 @@ add_executable(vibechat src/imageviewer_window.cpp src/member_files/browser.cpp src/avatars/avatarcache.cpp + src/avatars/avatarcrop.cpp + src/avatars/avatargallery.cpp src/avatars/avatarmanager.cpp src/avatars/groupavatarmanager.cpp src/audiodevicesettingspage.cpp diff --git a/tools/chatgui/build.sh b/tools/chatgui/build.sh index 74c6b926..46f6f2b0 100755 --- a/tools/chatgui/build.sh +++ b/tools/chatgui/build.sh @@ -71,7 +71,7 @@ esac log " Runtime package: $QT_PACKAGE" MAIN_DLLS=( "Qt${QT_MAJOR}Core.dll" "Qt${QT_MAJOR}Gui.dll" "Qt${QT_MAJOR}Network.dll" "Qt${QT_MAJOR}Widgets.dll" - "platforms/qwindows.dll" "imageformats/qjpeg.dll" + "platforms/qwindows.dll" "imageformats/qjpeg.dll" "imageformats/qwebp.dll" "libstdc++-6.dll" "libgcc_s_*.dll" "libwinpthread-1.dll" "librlottie.dll" "zlib1.dll" "libcrypto-*.dll" ) if [ -d "$FFMPEG_BIN" ]; then @@ -112,7 +112,7 @@ done qt_dll="Qt${QT_MAJOR}${component}.dll" cp "$RUNTIME_PREFIX/bin/$qt_dll" "$BUILD_DIR/" || { log " ERROR: cannot deploy $qt_dll from $RUNTIME_PREFIX/bin"; exit 1; } done - for plugin in platforms/qwindows.dll imageformats/qjpeg.dll; do + for plugin in platforms/qwindows.dll imageformats/qjpeg.dll imageformats/qwebp.dll; do plugin_source="" for dir in "$RUNTIME_PREFIX/share/qt${QT_MAJOR}/plugins" "$RUNTIME_PREFIX/lib/qt${QT_MAJOR}/plugins"; do [ -f "$dir/$plugin" ] && { plugin_source="$dir/$plugin"; break; }