Skip to content

Commit

Permalink
include image plugins in windows output
Browse files Browse the repository at this point in the history
  • Loading branch information
p2r3 committed Oct 14, 2024
1 parent ab97ce8 commit ac25195
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions autobuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,18 @@ cd dist
# Prepare the Windows binary for distribution.
if [ "$target_windows" == true ] || [ "$target_both" == true ]; then
# Copy project dependencies
cp ../deps/win32/lib/libcurl-4.dll ./win32
cp ../deps/win32/lib/libcurl-4.dll ./win32
cp ../deps/win32/lib/archive.dll ./win32
cp ../deps/win32/lib/liblzma.dll ./win32
cp ../deps/win32/lib/libcrypto-1_1-x64.dll ./win32
# Copy Qt5 dependencies
cp ../qt5build/win32/bin/Qt5Core.dll ./win32
cp ../qt5build/win32/bin/Qt5Gui.dll ./win32
cp ../qt5build/win32/bin/Qt5Widgets.dll ./win32
# Copt Qt5 Windows platform library
mkdir ./win32/platforms;
cp ../qt5build/win32/plugins/platforms/qwindows.dll ./win32/platforms
# Copy Qt5 plugins
mkdir ./win32/platforms
cp -r ../qt5build/win32/plugins/platforms/qwindows.dll ./win32/platforms
cp -r ../qt5build/win32/plugins/imageformats ./win32
# Copy C++ dependencies
cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll ./win32
cp /usr/lib/gcc/x86_64-w64-mingw32/12-posix/libgcc_s_seh-1.dll ./win32
Expand Down

0 comments on commit ac25195

Please sign in to comment.