use Qt5.15 for win7

This commit is contained in:
arm64v8a
2023-05-22 11:56:54 +09:00
parent c5122b77e4
commit 68fecb7669
4 changed files with 58 additions and 20 deletions

View File

@@ -2,7 +2,11 @@
set -e
source libs/deploy_common.sh
DEST=$DEPLOYMENT/windows64
if [ "$DL_QT_VER" == "5.15" ]; then
DEST=$DEPLOYMENT/windows7-x64
else
DEST=$DEPLOYMENT/windows64
fi
rm -rf $DEST
mkdir -p $DEST
@@ -14,8 +18,12 @@ pushd $DEST
windeployqt nekoray.exe --no-compiler-runtime --no-system-d3d-compiler --no-opengl-sw --verbose 2
rm -rf translations
rm -rf libEGL.dll libGLESv2.dll Qt6Pdf.dll
curl -fLSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/libcrypto-3-x64.dll
curl -fLSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/libssl-3-x64.dll
if [ "$DL_QT_VER" != "5.15" ]; then
curl -fLSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/libcrypto-3-x64.dll
curl -fLSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/libssl-3-x64.dll
fi
popd
#### prepare deployment ####

View File

@@ -0,0 +1,10 @@
mkdir qtsdk
cd qtsdk
if [ "$DL_QT_VER" == "5.15" ]; then
curl -LSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/Qt5.15.7-Windows-x86_64-VS2019-16.11.20-20221103.7z
else
curl -LSO https://github.com/MatsuriDayo/nekoray_qt_runtime/releases/download/20220503/Qt6.5.0-Windows-x86_64-VS2022-17.5.5-20230507.7z
fi
7z x *.7z
rm *.7z
mv Qt* Qt