make QProcessEnvironment::systemEnvironment() encoding-safe
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 21 Apr 2011 19:30:34 +0000 (21:30 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:52 +0000 (12:54 +0200)
commit5a4df43c71e7a7f45248a7f8cadd7f8b7c09500c
treeeb700e2734dcfc0fc54280afcff6c72027821129
parent9ff8d1c34a74bd852a7eb2016b46ab2904340b05
make QProcessEnvironment::systemEnvironment() encoding-safe

on unix, don't do the roundtrip over unicode.

on windows, use the WinAPI unicode environment instead of the 8-bit CRT
environment.

Reviewed-by: thiago
Reviewed-by: dt
(cherry picked from commit 60194ad0ea68d7c82b4729119d122dcfeb909842)
src/corelib/io/qprocess.cpp
src/corelib/io/qprocess_unix.cpp
src/corelib/io/qprocess_win.cpp