Commit 477c397d authored by Tobias Hunger's avatar Tobias Hunger

Qbs: Quieten warning

Quieten warning that is given when accessing a QbsRC before the project
is fully parsed.

Change-Id: I36d52166b4b8c55c85ee5c9d739383c135f1fe58
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 7267c95a
......@@ -221,7 +221,7 @@ bool QbsRunConfiguration::forcedGuiMode() const
return !ta.properties().getProperty(QLatin1String("consoleApplication")).toBool();
}
QTC_ASSERT(false, qDebug("No executable target in product '%s'", qPrintable(product.name())));
QTC_ASSERT(!pro->qbsProjectData().isValid(), qDebug("No executable target in product '%s'", qPrintable(product.name())));
return false;
}
......
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