qt5base-lts/qmake/generators/win32
Mat Sutcliffe 23bce6b169 qmake: Fix missing newlines in generated vcxproj files
A bug in the Windows C Runtime causes text mode pipes to drop newlines
sometimes. This bug was hidden because of another bug in rcc which
caused newlines to be redundantly duplicated. When the latter bug was
fixed (commit 53d5811b) the former bug was exposed, causing invalid
vcxproj files to be generated. The Windows bug is described here:
https://connect.microsoft.com/VisualStudio/feedback/details/1902345
The workaround is to avoid text mode, and do the conversion of "\r\n"
to "\n" ourselves (which we were already doing anyway).

Change-Id: I792599a4cd7822f109fa921f02207fb1b144b1d1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-06-16 22:46:54 +00:00
..
cesdkhandler.cpp qmake: use QString::replace() overloaded with QLatin1String 2016-02-04 15:10:49 +00:00
cesdkhandler.h Fix incorrect pass by value. 2015-04-21 11:37:54 +00:00
mingw_make.cpp qmake: use QString::replace() overloaded with QLatin1String 2016-02-04 15:10:49 +00:00
mingw_make.h Work around MinGW-make's magic prefixing of paths. 2016-01-21 19:23:40 +00:00
msbuild_objectmodel.cpp qmake: use QString::replace() overloaded with QLatin1String 2016-02-04 15:10:49 +00:00
msbuild_objectmodel.h Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
msvc_nmake.cpp Use separate PDB files for compiling and linking in MSVC builds 2016-06-15 12:28:01 +00:00
msvc_nmake.h inline NmakeMakefileGenerator::getPdbTarget() 2015-10-01 16:19:23 +00:00
msvc_objectmodel.cpp qmake: Fix missing newlines in generated vcxproj files 2016-06-16 22:46:54 +00:00
msvc_objectmodel.h WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00
msvc_vcproj.cpp qmake: Fix missing newlines in generated vcxproj files 2016-06-16 22:46:54 +00:00
msvc_vcproj.h MakefileGenerator::processSources() doesn't need to be virtual. 2015-11-13 15:10:32 +00:00
msvc_vcxproj.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
msvc_vcxproj.h Update copyright headers 2015-02-11 06:49:51 +00:00
winmakefile.cpp qmake: use QString::replace() overloaded with QLatin1String 2016-02-04 15:10:49 +00:00
winmakefile.h merge MingwMakefileGenerator::findLibraries() into Win32MakefileGenerator 2015-10-02 14:01:24 +00:00