Maemo: Bugfix: Use TargetInformation::workingDir in all cases.

We currently use buildDir in one place and workingDir in another,
which breaks projects that have DESTDIR set.

Reviewed-by: Tobias Hunger
This commit is contained in:
Christian Kandeler
2010-10-08 15:10:26 +02:00
parent 803206d5b5
commit c5e743e6c9

View File

@@ -218,7 +218,7 @@ QString MaemoDeployableListModel::localExecutableFilePath() const
fileName += ti.target;
if (isLib)
fileName += QLatin1String(isStatic ? ".a" : ".so");
return QDir::cleanPath(ti.buildDir + '/' + fileName);
return QDir::cleanPath(ti.workingDir + '/' + fileName);
}
QString MaemoDeployableListModel::remoteExecutableFilePath() const