Commit 25d534ef authored by Robert Loehning's avatar Robert Loehning

QMakeProjectManager: Update for change in QDir::relativeFilePath()

Change-Id: I8526df516a514678f30583956a00fdd5a2e770c5
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent f9f21492
......@@ -232,6 +232,8 @@ bool MakeStep::init()
}
}
QString relObjectsDir = QDir(pp->workingDirectory()).relativeFilePath(objectsDir);
if (relObjectsDir == QLatin1String("."))
relObjectsDir.clear();
if (!relObjectsDir.isEmpty())
relObjectsDir += QLatin1Char('/');
QString objectFile = relObjectsDir +
......
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