Skip to content
Snippets Groups Projects
Commit 0fac5deb authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Make license check output more helpful.


Change-Id: Ia17b5ef5661cd7bd17efbbf0f1985860c220111e
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 378b057a
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment