From c65940f499a2240c235c8ae1506f884685d88633 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 13 Jul 2026 07:44:06 +0300 Subject: [PATCH] Copy Qt platforms/qwindows.dll plugin alongside executable --- tools/chatgui/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/chatgui/build.sh b/tools/chatgui/build.sh index 4239febd..c78b0068 100755 --- a/tools/chatgui/build.sh +++ b/tools/chatgui/build.sh @@ -64,6 +64,11 @@ else todo="$next_todo" done fi +# Qt platform plugin (loaded dynamically, not in import table) +mkdir -p "$BUILD_DIR/platforms" +for d in /ucrt64/share/qt5/plugins /ucrt64/lib/qt5/plugins; do + cp "$d/platforms/qwindows.dll" "$BUILD_DIR/platforms/" 2>/dev/null && break +done cp "$SRC_DIR/rlottie_build/librlottie.dll" "$BUILD_DIR/" 2>/dev/null && log " OK: librlottie.dll" || log " WARN: librlottie.dll not found" log ""