Add the filters for extra compilers for vcxproj files
The files were grouped into the relevant filters but the filters themselves were not added. This now ensures the filters are added to the vcxproj files so they appear grouped correctly. Task-number: QTBUG-26755 Change-Id: I7d2c6fa96dcbb0496fd9d1bb1d01e7dd660052f4 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>bb10
parent
5bea177ab1
commit
372cc6b506
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue