From 7120b19ab7213ee9a27ed881ced16d3204b6330c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 16 Sep 2023 22:11:32 +1000 Subject: [PATCH] MSBuild: Generate combined .qm files --- dep/msvc/vsprops/QtCompile.props | 45 ++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/dep/msvc/vsprops/QtCompile.props b/dep/msvc/vsprops/QtCompile.props index 67edbfc0f..280d1a9e3 100644 --- a/dep/msvc/vsprops/QtCompile.props +++ b/dep/msvc/vsprops/QtCompile.props @@ -136,7 +136,7 @@ AfterTargets="Build" Inputs="@(QtDlls);@(QtPlugins);@(QtTLSDlls)" Outputs="@(QtDlls -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)');@(QtPluginsDest);@(QtTLSDllsDest)"> - + - + - + + $([System.String]::Copy('%(Filename)').Substring($([MSBuild]::Add($([System.String]::Copy('%(Filename)').IndexOf('_')), 1)))) + + + + + + $([System.String]::Copy('%(Filename)').Replace('qt_', '')) + + + + + + %(MergedQmFiles.Language) + + + + + + + + + - - - - %(Identity) - %(RecursiveDir) - - - - + Inputs="@(CopyTsFilesSource)" + Outputs="@(CopyTsFilesDest.FullPath)"> + +