forked from qt-creator/qt-creator
Change the build directory for cmake
It is now in the parent directory of the src directory. Task-Nr: QTCREATORBUG-1109
This commit is contained in:
@@ -77,7 +77,9 @@ CMakeOpenProjectWizard::CMakeOpenProjectWizard(CMakeManager *cmakeManager, const
|
|||||||
m_buildDirectory = m_sourceDirectory;
|
m_buildDirectory = m_sourceDirectory;
|
||||||
} else {
|
} else {
|
||||||
startid = ShadowBuildPageId;
|
startid = ShadowBuildPageId;
|
||||||
m_buildDirectory = m_sourceDirectory + "/qtcreator-build";
|
QDir dir(m_sourceDirectory);
|
||||||
|
dir.cdUp();
|
||||||
|
m_buildDirectory = dir.absolutePath() + "/qtcreator-build";
|
||||||
}
|
}
|
||||||
|
|
||||||
setPage(InSourcePageId, new InSourceBuildPage(this));
|
setPage(InSourcePageId, new InSourceBuildPage(this));
|
||||||
|
|||||||
Reference in New Issue
Block a user