From 3a3a9af284fd03b54f53a82d122d49d2795780b0 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 17 Sep 2023 01:37:11 +1000 Subject: [PATCH] MSBuild: Generate qtbase translations like CMake --- common/vsprops/QtCompile.props | 43 ++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/common/vsprops/QtCompile.props b/common/vsprops/QtCompile.props index 6e220d2df4..ff2e4b63eb 100644 --- a/common/vsprops/QtCompile.props +++ b/common/vsprops/QtCompile.props @@ -167,25 +167,38 @@ /> - + - + + $([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)"> + +