Skip to content

Commit

Permalink
Make windeployqt use qtpaths instead of qmake argument when cross-com…
Browse files Browse the repository at this point in the history
…piling
  • Loading branch information
jdpurcell committed Dec 14, 2024
1 parent f651223 commit 49c6a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ $appName = "QtHelloWorld"
if ($IsWindows) {
if ($env:buildArch -eq 'Arm64') {
$winDeployQt = "$env:QT_HOST_PATH\bin\windeployqt"
$argQmake = "--qmake=$env:QT_ROOT_DIR\bin\qmake.bat"
$argQtPaths = "--qtpaths=$env:QT_ROOT_DIR\bin\qtpaths.bat"
} else {
$winDeployQt = "windeployqt"
}
& $winDeployQt $argQmake --no-compiler-runtime --no-translations --no-system-d3d-compiler --no-system-dxc-compiler --no-opengl-sw "$appName.exe"
& $winDeployQt $argQtPaths --no-compiler-runtime --no-translations --no-system-d3d-compiler --no-system-dxc-compiler --no-opengl-sw "$appName.exe"
} elseif ($IsMacOS) {
macdeployqt "$appName.app"

Expand Down

0 comments on commit 49c6a7a

Please sign in to comment.