From bb56b169fc313459986a1cc4bfd26b0c37a17669 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 28 Jul 2020 03:08:41 +1000 Subject: [PATCH] VSProps: Support compiling Qt translation files --- dep/msvc/vsprops/QtCompile.props | 25 +++++++++++++++++++++++++ dep/msvc/vsprops/QtCompile.targets | 2 +- dep/msvc/vsprops/QtCompile.xml | 3 +++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/dep/msvc/vsprops/QtCompile.props b/dep/msvc/vsprops/QtCompile.props index a99ba4004..e8ac1f4db 100644 --- a/dep/msvc/vsprops/QtCompile.props +++ b/dep/msvc/vsprops/QtCompile.props @@ -13,6 +13,7 @@ $(QTDIR)plugins\ $(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\ $(QtToolOutDir)moc_ + $(BinaryOutputDir)translations\ d $(QtDebugSuffix) QtPlugins @@ -113,6 +114,9 @@ QtMoc + + QtTs + @@ -157,4 +161,25 @@ Overwrite="true" /> + + + + + + + + + + + + + + + + + diff --git a/dep/msvc/vsprops/QtCompile.targets b/dep/msvc/vsprops/QtCompile.targets index 9ab1522a8..75ac29f30 100644 --- a/dep/msvc/vsprops/QtCompile.targets +++ b/dep/msvc/vsprops/QtCompile.targets @@ -1,7 +1,7 @@ - QtResourceClean;QtUiClean;QtMocClean;$(CleanDependsOn) + QtResourceClean;QtUiClean;QtMocClean;QtTsClean;$(CleanDependsOn)