Commit 8ab88729 authored by Daniel Teske's avatar Daniel Teske

Use builddir not project dir for expanding relative libs paths

Change-Id: Id9743739fafe42c3d0f695cec0342b68544c64b0
Reviewed-on: default avatarQt Sanity Bot <>
Reviewed-by: default avatarFriedemann Kleint <>
parent 175ae43b
......@@ -619,7 +619,7 @@ Utils::Environment Qt4RunConfiguration::baseEnvironment() const
if (node) {
const QStringList libDirectories = node->variableValue(LibDirectoriesVar);
if (!libDirectories.isEmpty()) {
const QString proDirectory = QFileInfo(node->path()).absolutePath();
const QString proDirectory = node->buildDir();
foreach (QString dir, libDirectories) {
// Fix up relative entries like "LIBS+=-L.."
const QFileInfo fi(dir);
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