Skip to content

Commit 34af6fd

Browse files
Andy ShawJoerg Bornemann
authored andcommitted
Ensure that the RC_FILE is correctly handled in a single configuration
With MSVC 2010 if a single configuration vcxproj file was created then it would not have an entry for the .rc file only the .res file that would be compiled from it. Without the entry for the .rc file then it would not compile the .res file. Task-number: QTBUG-22545 Merge-request: 1452 Reviewed-by: Joerg Bornemann <[email protected]>
1 parent da8a056 commit 34af6fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qmake/generators/win32/msbuild_objectmodel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,6 +2896,7 @@ XmlOutput &operator<<(XmlOutput &xml, const VCXProjectSingleConfig &tool)
28962896
tempProj.outputFilter(xml, xmlFilter, tempProj.ExtraCompilers.at(x));
28972897
}
28982898

2899+
tempProj.outputFilter(xml, xmlFilter, "Root Files");
28992900
xml << import("Project", "$(VCTargetsPath)\\Microsoft.Cpp.targets");
29002901

29012902
xml << tag("ImportGroup")

0 commit comments

Comments
 (0)