Skip to content

Commit 2a09c82

Browse files
committed
Align qB deprecated API cutoff with Qt Windows static build
1 parent 27f0251 commit 2a09c82

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci_windows_arm64_native.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ jobs:
178178
$qbtSourceDir = (Get-Location).Path
179179
$cmakePreloadFile = Join-Path $qbtSourceDir "ci-preload.cmake"
180180
181+
$commonConfigPath = "cmake/Modules/CommonConfig.cmake"
182+
$commonConfig = Get-Content $commonConfigPath -Raw
183+
$commonConfig = $commonConfig -replace "QT_DISABLE_DEPRECATED_UP_TO=0x060500", "QT_DISABLE_DEPRECATED_UP_TO=0x040800"
184+
Set-Content $commonConfigPath -Value $commonConfig
185+
181186
$cmakePreload = @(
182187
'find_package(ZLIB REQUIRED)'
183188
'if(TARGET ZLIB::ZLIB)'

0 commit comments

Comments
 (0)