diff --git a/src/plugins/qt4projectmanager/unconfiguredprojectpanel.cpp b/src/plugins/qt4projectmanager/unconfiguredprojectpanel.cpp index b9490d8a455..d9a46b7b8a0 100644 --- a/src/plugins/qt4projectmanager/unconfiguredprojectpanel.cpp +++ b/src/plugins/qt4projectmanager/unconfiguredprojectpanel.cpp @@ -148,8 +148,15 @@ void TargetSetupPageWrapper::updateNoteText() { ProjectExplorer::Profile *p = ProjectExplorer::ProfileManager::instance()->defaultProfile(); + QString text; - if (p->isValid()) + if (!p) + text = tr("

The project %1 is not yet configured.

" + "

Qt Creator can not parse the project, because no profile " + "has been setup. You can setup profiles " + "in the settings.

") + .arg(m_project->displayName()); + else if (p->isValid()) text = tr("

The project %1 is not yet configured.

" "

Qt Creator uses the profile: %2 " "to parse the project. You can edit "