Maemo: Add option to disable packaging.

Task-number: QTCREATORBUG-1636
Reviewed-by: kh1
This commit is contained in:
ck
2010-06-22 14:40:08 +02:00
parent a269232df9
commit dd666a3af4
10 changed files with 126 additions and 79 deletions

View File

@@ -186,8 +186,7 @@ bool MaemoPackageCreationStep::createPackage()
const QDir debianRoot = QDir(buildDir % QLatin1String("/debian/")
% executableFileName().toLower());
for (int i = 0; i < m_packageContents->rowCount(); ++i) {
const MaemoPackageContents::Deployable &d
= m_packageContents->deployableAt(i);
const MaemoDeployable &d = m_packageContents->deployableAt(i);
const QString targetFile = debianRoot.path() + '/' + d.remoteFilePath;
const QString absTargetDir = QFileInfo(targetFile).dir().path();
const QString relTargetDir = debianRoot.relativeFilePath(absTargetDir);