Skip to content

Commit 3ea8c44

Browse files
committed
Force Qt deprecation cutoff for all targets
1 parent 3c83e04 commit 3ea8c44

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci_windows_arm64_native.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ jobs:
208208
$commonConfig = $commonConfig -replace "QT_DISABLE_DEPRECATED_UP_TO=0x060500", "QT_DISABLE_DEPRECATED_UP_TO=0x060A00"
209209
Set-Content $commonConfigPath -Value $commonConfig
210210
211+
# Ensure the deprecation cutoff applies to every target, including qbt_app.
212+
$env:CXXFLAGS = (($env:CXXFLAGS + " /DQT_DISABLE_DEPRECATED_UP_TO=0x060A00").Trim())
213+
211214
cmake `
212215
-B build `
213216
-G Ninja `

0 commit comments

Comments
 (0)