summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbitraid <bitraid@protonmail.ch>2023-08-12 14:08:01 +1200
committertoofar <toofar@spalge.com>2023-08-13 15:14:24 +1200
commitf903ae4985c435905110de7a794087cb533a957b (patch)
tree29ce6b14fb49c7302dfd35af9166ef8ee9814981 /scripts
parent0f2d34623cb6194846db70c8549a066e9a5bab17 (diff)
downloadqutebrowser-f903ae4985c435905110de7a794087cb533a957b.tar.gz
qutebrowser-f903ae4985c435905110de7a794087cb533a957b.zip
nsis: minimum OS version check for Qt6
The Qt docs for 6.5 say that the minimum supported version is Windows 10 1809. Experimentally it seems qutebrowser and it's dependencies work fine on a version as early 1607. There should be no change in OS version requirements for the Qt5 build, although we've dropped 32 bit support already and in a future version of the installer we may bring the minimum OS version support in line with the Qt6 requirements for simplicity too. Added a new QT5 version into the NSIS scripts so we can do the different version check per installer build. It just uses the python bool serialization format so should always be "True" or "False", but I've added a fallback anyway for consistency.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/build_release.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py
index 4c443136f..a638508de 100755
--- a/scripts/dev/build_release.py
+++ b/scripts/dev/build_release.py
@@ -423,6 +423,7 @@ def _package_windows_single(
utils.print_subtitle("Building installer...")
subprocess.run(['makensis.exe',
f'/DVERSION={qutebrowser.__version__}',
+ f'/DQT5={qt5}',
'misc/nsis/qutebrowser.nsi'], check=True)
name_parts = [