forked from qt-creator/qt-creator
MSVC: Use proper codec for vswhere output parsing
Fixes: QTCREATORBUG-24311 Change-Id: Ifeefd51ddc9f3eb738ee2649328209ed3494f9a5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -237,6 +237,7 @@ static QVector<VisualStudioInstallation> detectVisualStudioFromVsWhere(const QSt
|
||||
{
|
||||
QVector<VisualStudioInstallation> installations;
|
||||
Utils::SynchronousProcess vsWhereProcess;
|
||||
vsWhereProcess.setCodec(QTextCodec::codecForName("UTF-8"));
|
||||
const int timeoutS = 5;
|
||||
vsWhereProcess.setTimeoutS(timeoutS);
|
||||
const CommandLine cmd(vswhere,
|
||||
|
Reference in New Issue
Block a user