summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/msbuild_objectmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/generators/win32/msbuild_objectmodel.cpp')
-rw-r--r--qmake/generators/win32/msbuild_objectmodel.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp
index 235e7ff634..b42aa621d9 100644
--- a/qmake/generators/win32/msbuild_objectmodel.cpp
+++ b/qmake/generators/win32/msbuild_objectmodel.cpp
@@ -545,6 +545,10 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProjectSingleConfig &tool)
addFilters(tempProj, xmlFilter, "Resource Files");
addFilters(tempProj, xmlFilter, "Source Files");
addFilters(tempProj, xmlFilter, "Translation Files");
+
+ for (int x = 0; x < tempProj.ExtraCompilers.count(); ++x)
+ addFilters(tempProj, xmlFilter, tempProj.ExtraCompilers.at(x));
+
xmlFilter << closetag();
outputFilter(tempProj, xml, xmlFilter, "Source Files");
@@ -744,6 +748,10 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProject &tool)
addFilters(tool, xmlFilter, "Resource Files");
addFilters(tool, xmlFilter, "Source Files");
addFilters(tool, xmlFilter, "Translation Files");
+
+ for (int x = 0; x < tool.ExtraCompilers.count(); ++x)
+ addFilters(tool, xmlFilter, tool.ExtraCompilers.at(x));
+
xmlFilter << closetag();
outputFilter(tool, xml, xmlFilter, "Source Files");