From 86b771d05b08351d91c5fcff06e0dd9a6534ba91 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 29 Dec 2022 21:53:06 +0200 Subject: [PATCH 34/34] installer_cross / Meson: Explicitly set min-win-ver See osdn #46379 Signed-off-by: Marko Lindqvist --- windows/installer_cross/meson-winbuild.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/installer_cross/meson-winbuild.sh b/windows/installer_cross/meson-winbuild.sh index 7e64ede074..3a998684b2 100755 --- a/windows/installer_cross/meson-winbuild.sh +++ b/windows/installer_cross/meson-winbuild.sh @@ -8,6 +8,7 @@ # MESON_WINBUILD_VERSION="3.1.0-alpha" +MIN_WINVER=0x0603 # Windows 8.1. Qt6-client and Qt6-ruledit builds override this CROSSER_FEATURE_LEVEL=2.5 if test "x$1" = x || test "x$1" = "x-h" || test "x$1" = "x--help" ; then @@ -86,10 +87,12 @@ case $GUI in qt6) CLIENT="qt" FCMP="qt" RULEDIT=true + MIN_WINVER=0x0A00 QTPARAMS="-Dqtver=qt6" ;; ruledit) CLIENT="[]" FCMP="[]" RULEDIT=true + MIN_WINVER=0x0A00 QTPARAMS="-Dqtver=qt6" ;; esac @@ -138,6 +141,7 @@ export PATH="$DLLSPATH/linux/libexec:$PATH" if ! meson setup \ --cross-file=cross.txt \ -Dprefix="$MESON_INSTALL_DIR" \ + -Dmin-win-ver="$MIN_WINVER" \ -Dclients="$CLIENT" -Dfcmp="$FCMP" \ -Dsyslua=false \ -Dmwand=false \ -- 2.39.0