Commit 9e5c6518 authored by Daniel Teske's avatar Daniel Teske
Browse files

Qt4BuildConfiguration: Allow relative paths for the build directory



Task-number: QTCREATORBUG-7791

Change-Id: Ied2dcd8f8ccb16f427d60c6f6b2d93afb4c4b7e4
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 72fd0a41
......@@ -196,7 +196,8 @@ QString Qt4BuildConfiguration::rawBuildDirectory() const
/// returns the build directory
QString Qt4BuildConfiguration::buildDirectory() const
{
return QDir::cleanPath(environment().expandVariables(rawBuildDirectory()));
QString path = QDir::cleanPath(environment().expandVariables(rawBuildDirectory()));
return QDir::cleanPath(QDir(target()->project()->projectDirectory()).absoluteFilePath(path));
}
bool Qt4BuildConfiguration::supportsShadowBuilds()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment