From 3c197a2dee449030cded7cf2d97d3d8214e237ab Mon Sep 17 00:00:00 2001 From: Filippo Cucchetto Date: Sat, 15 Dec 2018 12:47:03 +0100 Subject: [PATCH] Nim: Fix empty compiler version We should read the standard output and not the standard error Change-Id: If3731ffaf3d4ee9709da8bac8cdde1ea0e861a30 Reviewed-by: Orgad Shaneh --- src/plugins/nim/project/nimtoolchain.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/nim/project/nimtoolchain.cpp b/src/plugins/nim/project/nimtoolchain.cpp index 399814db323..6687c1eb8cb 100644 --- a/src/plugins/nim/project/nimtoolchain.cpp +++ b/src/plugins/nim/project/nimtoolchain.cpp @@ -174,7 +174,6 @@ bool NimToolChain::fromMap(const QVariantMap &data) bool NimToolChain::parseVersion(const FileName &path, std::tuple &result) { QProcess process; - process.setReadChannel(QProcess::StandardError); process.start(path.toString(), {"--version"}); if (!process.waitForFinished()) return false;