From dc0c47c7fd493229b409d0aad985216c41a84ef2 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Wed, 10 Apr 2013 12:03:20 +0200 Subject: [PATCH] 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 --- src/plugins/cmakeprojectmanager/cmakeproject.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp index ff0652a3ef2..f7b803e5bf2 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp @@ -207,10 +207,6 @@ QString CMakeProject::shadowBuildDirectory(const QString &projectFilePath, const return QString(); QFileInfo info(projectFilePath); - QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(k); - if (version && !version->supportsShadowBuilds()) - return info.absolutePath(); - const QString projectName = QFileInfo(info.absolutePath()).fileName(); ProjectExplorer::ProjectMacroExpander expander(projectFilePath, projectName, k, bcName); QDir projectDir = QDir(projectDirectory(projectFilePath));