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