Skip to content

Commit e18f0e7

Browse files
committed
deps.qt: Add arm64 slice to Qt6 build script
1 parent 97a8d49 commit e18f0e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps.qt/qt6.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ param(
33
[string] $Version = '6.5.3',
44
[string] $Uri = 'https://download.qt.io/official_releases/qt/6.5/6.5.3',
55
[string] $Hash = "${PSScriptRoot}/checksums",
6-
[array] $Targets = @('x64', 'x86'),
6+
[array] $Targets = @('x64', 'x86', 'arm64'),
77
[array] $Patches = @(
88
@{
99
PatchFile = "${PSScriptRoot}/patches/Qt6/win/0001-CVE-2023-43114-6.5.patch"
@@ -143,6 +143,7 @@ function Configure {
143143
$CMakeTarget = @{
144144
x64 = 'x64'
145145
x86 = 'Win32'
146+
arm64 = 'arm64'
146147
}
147148

148149
$Options = ($Options -join ' ') -replace '-G Visual Studio \d+ \d+','-G Ninja' -replace "-A $($CMakeTarget[$Target])",''
@@ -227,6 +228,7 @@ function Qt-Add-Submodules {
227228
$CMakeTarget = @{
228229
x64 = 'x64'
229230
x86 = 'Win32'
231+
arm64 = 'arm64'
230232
}
231233

232234
$QtComponents | Where-Object { $_ -ne 'qtbase' } | ForEach-Object {

0 commit comments

Comments
 (0)