forked from qt-creator/qt-creator
RemoteLinux: Rename some classes and the associated files.
Also make them external. Change-Id: I21a74c1f7124646b5507ffd2ee0e24c7c60eca97 Reviewed-on: http://codereview.qt.nokia.com/749 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "maemoinstalltosysrootstep.h"
|
||||
|
||||
#include "maemodeployables.h"
|
||||
#include "deploymentinfo.h"
|
||||
#include "maemoglobal.h"
|
||||
#include "maemopackagecreationstep.h"
|
||||
#include "maemoqtversion.h"
|
||||
@@ -313,11 +313,11 @@ void MaemoCopyToSysrootStep::run(QFutureInterface<bool> &fi)
|
||||
|
||||
emit addOutput(tr("Copying files to sysroot ..."), MessageOutput);
|
||||
QDir sysrootDir(qtVersion->systemRoot());
|
||||
const QSharedPointer<MaemoDeployables> deployables
|
||||
= qobject_cast<Qt4MaemoDeployConfiguration *>(deployConfiguration())->deployables();
|
||||
const QSharedPointer<DeploymentInfo> deploymentInfo
|
||||
= qobject_cast<Qt4MaemoDeployConfiguration *>(deployConfiguration())->deploymentInfo();
|
||||
const QChar sep = QLatin1Char('/');
|
||||
for (int i = 0; i < deployables->deployableCount(); ++i) {
|
||||
const MaemoDeployable &deployable = deployables->deployableAt(i);
|
||||
for (int i = 0; i < deploymentInfo->deployableCount(); ++i) {
|
||||
const DeployableFile &deployable = deploymentInfo->deployableAt(i);
|
||||
const QFileInfo localFileInfo(deployable.localFilePath);
|
||||
const QString targetFilePath = qtVersion->systemRoot() + sep
|
||||
+ deployable.remoteDir + sep + localFileInfo.fileName();
|
||||
|
||||
Reference in New Issue
Block a user