From e3137a57e24c24cd0e30fdf1b183779ba8c8e78b Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 14 Jan 2023 08:13:05 +0200 Subject: [PATCH 41/41] winbuild.sh: Set win10 as MIN_WINVER for Qt6-ruledit build See osdn #46463 Signed-off-by: Marko Lindqvist --- windows/installer_cross/winbuild.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/windows/installer_cross/winbuild.sh b/windows/installer_cross/winbuild.sh index 8cf4b84e15..d3a2307810 100755 --- a/windows/installer_cross/winbuild.sh +++ b/windows/installer_cross/winbuild.sh @@ -10,7 +10,7 @@ # Version 2.4.2 (16-Dec-22) WINBUILD_VERSION="2.4.2" -MIN_WINVER=0x0601 # Windows 7, Qt6-client build overrides this +MIN_WINVER=0x0601 # Windows 7, 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 @@ -143,6 +143,10 @@ if test "$SINGLE_GUI" != "true" || test "$2" = "ruledit" ; then then QT6="yes" QTVER="Qt6" + if test "$SINGLE_GUI" = "true" ; then + # Build is ONLY about Qt6 programs + MIN_WINVER="0x0A00" # Qt6 requires Win10 anyway + fi elif grep "CROSSER_QT5" $DLLSPATH/crosser.txt | grep yes > /dev/null then QT5="yes" -- 2.39.0