From f5b53c8e3ececbdac1a7da56cbdc850e542316b9 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 12 Sep 2014 17:51:24 +0200 Subject: [PATCH] add missing DefaultLanguage property for WinRT projects Task-number: QTBUG-37628 Change-Id: I7cce0641b8958fe1d97ace21cb5392e32a067649 Reviewed-by: Oswald Buddenhagen Reviewed-by: Oliver Wolff --- qmake/generators/win32/msbuild_objectmodel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp index 5fdfc52dba..87ff5ec895 100644 --- a/qmake/generators/win32/msbuild_objectmodel.cpp +++ b/qmake/generators/win32/msbuild_objectmodel.cpp @@ -636,7 +636,8 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProject &tool) << tagValue("Keyword", tool.Keyword); if (isWinRT) { - xml << tagValue("MinimumVisualStudioVersion", tool.Version); + xml << tagValue("MinimumVisualStudioVersion", tool.Version) + << tagValue("DefaultLanguage", "en"); if (isWinPhone80) { xml << tagValue("WinMDAssembly", "true"); if (tool.SingleProjects.at(0).Configuration.ConfigurationType == typeApplication) {