Skip to content

Commit

Permalink
deps.qt: Add arm64 slice to Qt6 build script
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav committed Jan 11, 2024
1 parent 7832f58 commit 1587850
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps.qt/qt6.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ param(
[string] $Version = '6.5.3',
[string] $Uri = 'https://download.qt.io/official_releases/qt/6.5/6.5.3',
[string] $Hash = "${PSScriptRoot}/checksums",
[array] $Targets = @('x64', 'x86'),
[array] $Targets = @('x64', 'x86', 'arm64'),
[array] $Patches = @(
@{
PatchFile = "${PSScriptRoot}/patches/Qt6/win/0001-CVE-2023-43114-6.5.patch"
Expand Down Expand Up @@ -143,6 +143,7 @@ function Configure {
$CMakeTarget = @{
x64 = 'x64'
x86 = 'Win32'
arm64 = 'arm64'
}

$Options = ($Options -join ' ') -replace '-G Visual Studio \d+ \d+','-G Ninja' -replace "-A $($CMakeTarget[$Target])",''
Expand Down Expand Up @@ -227,6 +228,7 @@ function Qt-Add-Submodules {
$CMakeTarget = @{
x64 = 'x64'
x86 = 'Win32'
arm64 = 'arm64'
}

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

0 comments on commit 1587850

Please sign in to comment.