Handle non-qmake projects without kits

Make it possible to add kits again after all kits were removed
from a non qmake project.

Task-number: QTCREATORBUG-7814
Change-Id: I38967cd4c106b95288b7020fe325d8cfe2688a7c
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Tobias Hunger
2012-09-06 16:19:14 +02:00
parent aa8a0cf0ed
commit e77bb8af04
6 changed files with 16 additions and 2 deletions

View File

@@ -439,6 +439,11 @@ void Project::configureAsExampleProject(const QStringList &platforms)
Q_UNUSED(platforms);
}
bool Project::supportsNoTargetPanel() const
{
return false;
}
void Project::onBuildDirectoryChanged()
{
Target *target = qobject_cast<Target *>(sender());