Use unique build directories per qt version and debug/release

Reviewed-By: hunger
This commit is contained in:
dt
2011-03-23 13:32:42 +01:00
parent 435b4608d9
commit b45a73ffab
19 changed files with 138 additions and 170 deletions

View File

@@ -747,19 +747,6 @@ bool Qt4Project::wasEvaluateCanceled()
return m_cancelEvaluate;
}
QString Qt4Project::defaultTopLevelBuildDirectory() const
{
return defaultTopLevelBuildDirectory(file()->fileName());
}
QString Qt4Project::defaultTopLevelBuildDirectory(const QString &profilePath)
{
if (profilePath.isEmpty())
return QString();
QFileInfo info(profilePath);
return QDir::cleanPath(projectDirectory(profilePath) + QLatin1String("/../") + info.baseName() + QLatin1String("-build"));
}
void Qt4Project::asyncUpdate()
{
if (debug)