NSIS: add support for Windows ARM64 build

Qt >=6.8 can native compile on Windows ARM64 machine, and GitHub also provides windows-11-arm runner. so I think It's time to add support.

I've tested from my branch and Snapdragon 8cx gen3 computer. all ci build passed.

Closes #11465
PR #23328.
This commit is contained in:
namoen0301
2025-10-20 16:43:44 +08:00
committed by GitHub
parent d67163269b
commit df2998c7a9
61 changed files with 282 additions and 17 deletions

View File

@@ -35,12 +35,15 @@
;End of user configurable options
;==============================================================================
; QBT_CPU_ARCH (x64 or arm64)
!define /ifndef QBT_CPU_ARCH "x64"
!ifndef QBT_INSTALLER_WINDOWNAME | QBT_INSTALLER_FILENAME
; The name of the installer
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} x64"
!define QBT_INSTALLER_WINDOWNAME "${QBT_VERSION} ${QBT_CPU_ARCH}"
; The file to write
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_x64"
!define QBT_INSTALLER_FILENAME "${QBT_VERSION}_${QBT_CPU_ARCH}"
!endif
!define /ifndef QBT_DIST_DIR "qBittorrent"