Allow the user to set the version number used for the build deb package.

Task-number: QTCREATORBUG-1670
Reviewed-by: ck
This commit is contained in:
kh1
2010-06-28 11:59:36 +02:00
parent 38e91624de
commit eaf8d2692e
5 changed files with 271 additions and 19 deletions

View File

@@ -71,6 +71,9 @@ public:
bool isPackagingEnabled() const { return m_packagingEnabled; }
void setPackagingEnabled(bool enabled) { m_packagingEnabled = enabled; }
QString versionString() const;
void setVersionString(const QString &version);
private:
MaemoPackageCreationStep(ProjectExplorer::BuildConfiguration *buildConfig,
MaemoPackageCreationStep *other);
@@ -90,7 +93,6 @@ private:
QString targetRoot() const;
QString nativePath(const QFile &file) const;
bool packagingNeeded() const;
QString versionString() const;
void raiseError(const QString &shortMsg,
const QString &detailedMsg = QString());
@@ -98,6 +100,7 @@ private:
MaemoPackageContents *const m_packageContents;
bool m_packagingEnabled;
QString m_versionString;
};
} // namespace Internal