Allow relative paths in Build directories, Working Directories

Relative to the project's directory.
This commit is contained in:
dt
2010-09-17 14:58:07 +02:00
parent 9cdc70fd7b
commit aa8e2e8e0f
6 changed files with 7 additions and 0 deletions

View File

@@ -478,6 +478,7 @@ GenericBuildSettingsWidget::GenericBuildSettingsWidget(GenericProject *project)
// build directory
m_pathChooser = new Utils::PathChooser(this);
m_pathChooser->setEnabled(true);
m_pathChooser->setBaseDirectory(project->projectDirectory());
fl->addRow(tr("Build directory:"), m_pathChooser);
connect(m_pathChooser, SIGNAL(changed(QString)), this, SLOT(buildDirectoryChanged()));