Browse Source

Build avatar UI and deploy the desktop WebP codec

master
evgeny 4 days ago
parent
commit
c4c11ad813
  1. 2
      tools/chatgui/CMakeLists.txt
  2. 4
      tools/chatgui/build.sh

2
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

4
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; }

Loading…
Cancel
Save