forked from qt-creator/qt-creator
Introduce method to access the project directory
... use it. Reviewed-by: dt
This commit is contained in:
@@ -1128,7 +1128,7 @@ void Qt4Project::notifyChanged(const QString &name)
|
||||
// // adjust the build directory of the sub-project.
|
||||
// if (project()->file()->fileName().startsWith(qtSourceDir) && qtSourceDir != currentQtDir) {
|
||||
// project()->setValue(buildConfiguration, "useShadowBuild", true);
|
||||
// QString buildDir = QFileInfo(project()->file()->fileName()).absolutePath();
|
||||
// QString buildDir = project()->projectDirectory();
|
||||
// buildDir.replace(qtSourceDir, currentQtDir);
|
||||
// project()->setValue(buildConfiguration, "buildDirectory", buildDir);
|
||||
// project()->setValue(buildConfiguration, "autoShadowBuild", true);
|
||||
|
||||
Reference in New Issue
Block a user