forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user