Commit 0fac5deb authored by Christian Kandeler's avatar Christian Kandeler

Make license check output more helpful.

Change-Id: Ia17b5ef5661cd7bd17efbbf0f1985860c220111e
Reviewed-by: 's avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 378b057a
......@@ -31,8 +31,12 @@ inline bool enterpriseFeaturesAvailable()
= ExtensionSystem::PluginManager::getObject<LicenseChecker::LicenseCheckerPlugin>();
if (licenseChecker && licenseChecker->hasValidLicense()) {
if (licenseChecker->enterpriseFeatures())
if (licenseChecker->enterpriseFeatures()) {
return true;
} else {
qWarning() << "License does not cover enterprise features, "
"disabling Clang Static Analyzer";
}
} else {
qWarning() << "Invalid license, disabling Clang Static Analyzer";
}
......
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