RemoteLinux: Change installation prefix logic.

Specifying relative remote paths is problematic, since
they can easily be expanded locally. So we just prepend
the prefix to all paths.

Change-Id: I629ec49ed219440c70bf3ab75024e2cec2bd83a5
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
Christian Kandeler
2012-03-29 10:24:32 +02:00
parent cf43cc4391
commit c59766da4d

View File

@@ -91,11 +91,8 @@ DeployableFilesPerProFile::DeployableFilesPerProFile(const Qt4ProFileNode *proFi
d->deployables << DeployableFile(file, elem.path);
}
for (int i = 0; i < d->deployables.count(); ++i) {
QString &remoteDir = d->deployables[i].remoteDir;
if (QFileInfo(remoteDir).isRelative())
remoteDir.prepend(installPrefix + QLatin1Char('/'));
}
for (int i = 0; i < d->deployables.count(); ++i)
d->deployables[i].remoteDir.prepend(installPrefix + QLatin1Char('/'));
}
DeployableFilesPerProFile::~DeployableFilesPerProFile()