Using target name instead of ID in shadow build dir

Task-number: QTCREATORBUG-7901
Change-Id: Ia38ea896809e7793439e412e260b7cdc409923da
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2012-10-04 14:40:29 +02:00
parent a630a26810
commit 6a58e1b9fb
3 changed files with 36 additions and 1 deletions

View File

@@ -1412,7 +1412,8 @@ QString Qt4Project::buildNameFor(const Kit *k)
{
if (!k)
return QLatin1String("unknown");
return QString::fromLatin1(k->id().name()).mid(31, 6); // part of the UUID, should be pretty unique;-)
return k->fileSystemFriendlyName();
}
Target *Qt4Project::createTarget(Kit *k, const QList<BuildConfigurationInfo> &infoList)