forked from qt-creator/qt-creator
CMake: Do not try to parse progress information lines
The lines with "[x%] Building something" do not contain errors, so there is no need to parse them (causing false positives to show up). Change-Id: Iee87deb73db9e82040cab5401b74c70be91e6191 Reviewed-by: Alexander Drozdov <adrozdoff@gmail.com> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -270,6 +270,7 @@ void CMakeBuildStep::stdOutput(const QString &line)
|
||||
int percent = m_percentProgress.cap(1).toInt(&ok);
|
||||
if (ok)
|
||||
futureInterface()->setProgressValue(percent);
|
||||
return;
|
||||
} else if (m_ninjaProgress.indexIn(line) != -1) {
|
||||
m_useNinja = true;
|
||||
bool ok = false;
|
||||
@@ -281,6 +282,7 @@ void CMakeBuildStep::stdOutput(const QString &line)
|
||||
futureInterface()->setProgressValue(percent);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (m_useNinja)
|
||||
AbstractProcessStep::stdError(line);
|
||||
|
||||
Reference in New Issue
Block a user