CMakeProjectManager: Make shadow build support not depend on qt version

If a qt version does not support shadow building, this just means that
the qmake for that qt is broken. That has no bearing on whether cmake
could shadow build.

Change-Id: If2b69b42094d87cd0c3be26d043e344aa8b370da
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Daniel Teske
2013-04-10 12:03:20 +02:00
parent b06fa40149
commit dc0c47c7fd

View File

@@ -207,10 +207,6 @@ QString CMakeProject::shadowBuildDirectory(const QString &projectFilePath, const
return QString(); return QString();
QFileInfo info(projectFilePath); QFileInfo info(projectFilePath);
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(k);
if (version && !version->supportsShadowBuilds())
return info.absolutePath();
const QString projectName = QFileInfo(info.absolutePath()).fileName(); const QString projectName = QFileInfo(info.absolutePath()).fileName();
ProjectExplorer::ProjectMacroExpander expander(projectFilePath, projectName, k, bcName); ProjectExplorer::ProjectMacroExpander expander(projectFilePath, projectName, k, bcName);
QDir projectDir = QDir(projectDirectory(projectFilePath)); QDir projectDir = QDir(projectDirectory(projectFilePath));