Skip to content

Commit

Permalink
deps.qt: Add support for Windows ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyvct committed Nov 8, 2022
1 parent a7c6fb9 commit 74f6051
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions deps.qt/qt6.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,20 @@ function Configure {
$QtBuildConfiguration = '-release'
}

$BuildCommand = "..\..\..\qt6\configure -opensource -confirm-license ${QtBuildConfiguration} -nomake examples -nomake tests -schannel -no-dbus -no-freetype -no-icu -no-openssl -no-feature-androiddeployqt -no-feature-pdf -no-feature-printsupport -no-feature-qmake -no-feature-sql -no-feature-testlib -no-feature-windeployqt -DQT_NO_PDF -prefix ${BuildPath}"
$BuildCommand = "..\..\..\qt6\configure "

if (${Target} -eq "ARM64") {
$BuildCommand += "-platform win32-msvc -xplatform win32-arm64-msvc -qt-host-path 'C:/Qt/6.3.2/msvc2019_64' "
}

$BuildCommand += "-opensource -confirm-license ${QtBuildConfiguration} -nomake examples -nomake tests -schannel -no-dbus -no-freetype -no-icu -no-openssl -no-feature-androiddeployqt -no-feature-pdf -no-feature-printsupport -no-feature-qmake -no-feature-sql -no-feature-testlib -no-feature-windeployqt -DQT_NO_PDF -prefix ${BuildPath}"

$Params = @{
BasePath = (Get-Location | Convert-Path)
BuildPath = "."
BuildCommand = "${BuildCommand}"
Target = $Target
HostArchitecture = $Target
# HostArchitecture = $Target
}

Invoke-DevShell @Params
Expand Down

0 comments on commit 74f6051

Please sign in to comment.