forked from qt-creator/qt-creator
Small improvements to the abld parser
* Should work better with errors that can happen during deployment
This commit is contained in:
@@ -62,7 +62,8 @@ void AbldParser::stdOutput(const QString &line)
|
||||
TASK_CATEGORY_BUILDSYSTEM));
|
||||
return;
|
||||
}
|
||||
if (lne.startsWith(QLatin1String("FATAL ERROR:"))) {
|
||||
if (lne.startsWith(QLatin1String("FATAL ERROR:")) ||
|
||||
lne.startsWith(QLatin1String("Error :"))) {
|
||||
emit addTask(Task(Task::Error,
|
||||
lne /* description */,
|
||||
QString() /* filename */,
|
||||
@@ -91,6 +92,14 @@ void AbldParser::stdOutput(const QString &line)
|
||||
return;
|
||||
}
|
||||
|
||||
if (lne.startsWith(QLatin1String("SIS creation failed!"))) {
|
||||
m_waitingForStdOutContinuation = false;
|
||||
emit addTask(Task(Task::Error,
|
||||
line, QString(), -1,
|
||||
TASK_CATEGORY_BUILDSYSTEM));
|
||||
return;
|
||||
}
|
||||
|
||||
if (lne.isEmpty()) {
|
||||
m_waitingForStdOutContinuation = false;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user