diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-05-20 17:02:05 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-05-24 16:58:04 +0200 |
commit | 14aa1f7d6ffea29647557f98e654355782f55e66 (patch) | |
tree | 2bc0ac298f4fe7cd4215bafba79e9599d0515067 /src/widgets/dialogs | |
parent | 0c9b449aa4ad454e37aec43c5b04c3218e12b693 (diff) | |
download | qtbase-14aa1f7d6ffea29647557f98e654355782f55e66.tar.gz |
Use appropriate encoding rather than UTF-8 when reading from a pipe
The qmake code to read output from dependency-generation was adding
QByteArray values to a QString, thereby tacitly converting from UTF-8;
this is misguided. Hopefully, the command emits its output in the same
local 8-bit encoding that QString knows to convert from.
Simplified needlessly verbose loops (that violated Qt coding style) in
the process.
Fixes: QTBUG-75904
Change-Id: I27cf81ffcb63ebc999b8e4fc57abdb9a68c4d2b3
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/widgets/dialogs')
0 files changed, 0 insertions, 0 deletions