From 0aa8374f734680850de1b9ce26c8c0784e45c085 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 6 Sep 2025 12:37:30 +1000 Subject: [PATCH] MSBuild: Don't merge qt_LANG.qm when qtbase_LANG.qm exists Stops qt_sv.qm being generated which references files that do not exist, e.g. qtscript_sv.qm. --- dep/msvc/vsprops/QtCompile.props | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dep/msvc/vsprops/QtCompile.props b/dep/msvc/vsprops/QtCompile.props index 4be5514c4..4b049d18b 100644 --- a/dep/msvc/vsprops/QtCompile.props +++ b/dep/msvc/vsprops/QtCompile.props @@ -163,15 +163,17 @@ - $([System.String]::Copy('%(Filename)').Substring($([MSBuild]::Add($([System.String]::Copy('%(Filename)').IndexOf('_')), 1)))) + $([System.String]::Copy('%(Filename)').Substring($([MSBuild]::Add($([System.String]::Copy('%(Filename)').IndexOf('_')), 1)))) - $([System.String]::Copy('%(Filename)').Replace('qt_', '')) + $([System.String]::Copy('%(Filename)').Replace('qt_', '')) - + + + @@ -180,11 +182,12 @@ - + + - +