Commit 40599b52 authored by Tobias Hunger's avatar Tobias Hunger

Linux: Warn on build applications failing due to missing libraries

This can happen e.g. when a system upgrade bumps the soversion of
libraries moc/uic/etc. are using.

Task-number: QTCREATORBUG-12550
Change-Id: I4ee3427d8dcd390133ac178762a26ba48cddd4bf
Reviewed-by: default avatarTobias Hunger <>
parent b3fa02d0
......@@ -44,6 +44,12 @@ OsParser::OsParser() :
void OsParser::stdError(const QString &line)
if (Utils::HostOsInfo::isLinuxHost()) {
const QString trimmed = line.trimmed();
if (trimmed.contains(QLatin1String(": error while loading shared libraries:"))) {
addTask(Task(Task::Error, trimmed, Utils::FileName(), -1, Constants::TASK_CATEGORY_COMPILE));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment