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));