Skip to content
Snippets Groups Projects
Commit c7ad4ade authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

report plugin loading problems to the user

parent ba9e0b8a
No related branches found
No related tags found
No related merge requests found
...@@ -313,6 +313,17 @@ int main(int argc, char **argv) ...@@ -313,6 +313,17 @@ int main(int argc, char **argv)
displayError(msgCoreLoadFailure(coreplugin->errorString())); displayError(msgCoreLoadFailure(coreplugin->errorString()));
return 1; return 1;
} }
{
QStringList errors;
foreach (ExtensionSystem::PluginSpec *p, pluginManager.plugins())
if (p->hasError())
errors.append(p->errorString());
if (!errors.isEmpty())
QMessageBox::warning(0,
QCoreApplication::translate("Application", "Qt Creator - Plugin loader messages"),
errors.join(QString::fromLatin1("\n\n")));
}
if (isFirstInstance) { if (isFirstInstance) {
// Set up lock and remote arguments for the first instance only. // Set up lock and remote arguments for the first instance only.
// Silently fallback to unconnected instances for any subsequent // Silently fallback to unconnected instances for any subsequent
......
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