|
|
|
|
@ -68,6 +68,16 @@ rm "$case_dir/build/libpng.dll" "$case_dir/build/plugin-helper.dll"
|
|
|
|
|
run_case 6; assert_file "$case_dir/build/libpng.dll"; assert_file "$case_dir/build/plugin-helper.dll" |
|
|
|
|
echo 'PASS: Qt6, Windows system DLLs, matching platform/JPEG plugins and repeated dependency checks' |
|
|
|
|
|
|
|
|
|
# Сбой подходящего инструмента не должен обходить обязательную проверку ручного комплекта. |
|
|
|
|
cat > "$prefix/bin/windeployqt6.exe" <<'SH' |
|
|
|
|
#!/bin/bash |
|
|
|
|
if [ "$1" = --version ]; then echo 'windeployqt 6.10.0'; else exit 12; fi |
|
|
|
|
SH |
|
|
|
|
chmod +x "$prefix/bin/windeployqt6.exe" |
|
|
|
|
run_case 6 |
|
|
|
|
rg -q 'windeployqt failed \(exit 12\)' "$case_dir/output.log" |
|
|
|
|
echo 'PASS: failed matching deploy tool falls back to verified direct deployment' |
|
|
|
|
|
|
|
|
|
# Нет подходящего deploy tool: копирование DLL/плагинов всё равно должно работать. |
|
|
|
|
rm "$prefix/bin/windeployqt6.exe" |
|
|
|
|
cat > "$prefix/bin/windeployqt.exe" <<'SH' |
|
|
|
|
|