qt5base-lts/qmake/generators
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
..
mac Fix Group-relative specification of files in generated Xcode projects. 2016-04-20 18:18:33 +00:00
unix Fix an issue causing qmake to generate corrupt Makefiles. 2016-06-15 22:18:29 +00:00
win32 qmake: Fix missing newlines in generated vcxproj files 2016-06-16 22:46:54 +00:00
makefile.cpp qmake: Fix missing newlines in generated vcxproj files 2016-06-16 22:46:54 +00:00
makefile.h qmake: Fix missing newlines in generated vcxproj files 2016-06-16 22:46:54 +00:00
makefiledeps.cpp Possible crash in QMakeSourceFileInfo 2016-04-29 08:40:30 +00:00
makefiledeps.h Update copyright headers 2015-02-11 06:49:51 +00:00
metamakefile.cpp Unchecked return value in QMakeProject 2016-04-29 08:40:06 +00:00
metamakefile.h Update copyright headers 2015-02-11 06:49:51 +00:00
projectgenerator.cpp QtCore/qmake: drop some unneeded QChar -> QString conversions 2015-10-11 12:29:28 +00:00
projectgenerator.h Update copyright headers 2015-02-11 06:49:51 +00:00
xmloutput.cpp qmake: use QString::replace() overloaded with QLatin1String 2016-02-04 15:10:49 +00:00
xmloutput.h Update copyright headers 2015-02-11 06:49:51 +00:00