diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-11-18 12:47:42 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-11-18 12:51:33 (GMT) |
commit | 952f0ca3f371b040bd8b8a007cdf87bf0e4843ad (patch) | |
tree | 160a0cebc40e81dab6ef5bf8ed318fca42e7ac5e /qmake/generators/symbian/symmake.h | |
parent | 70b121ca310c99269bb08161000215f09b41a84b (diff) | |
download | Qt-952f0ca3f371b040bd8b8a007cdf87bf0e4843ad.zip Qt-952f0ca3f371b040bd8b8a007cdf87bf0e4843ad.tar.gz Qt-952f0ca3f371b040bd8b8a007cdf87bf0e4843ad.tar.bz2 |
Changed MIF filename from UID to target name in Symbian.
This change makes it possible to define ICON keyword in pro file
without UID3.
It is safe to use target as an icon name since Symbian devices cannot
have two different binaries with the same name as all binaries are
located in \sys\bin. This means there cannot be also two mif files
with same target name. Also all native S60 apps use target name as an
MIF basename. Target name is also much easier to associate with app
than UID.
Task-number: QTBUG-4677
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'qmake/generators/symbian/symmake.h')
-rw-r--r-- | qmake/generators/symbian/symmake.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/generators/symbian/symmake.h b/qmake/generators/symbian/symmake.h index a3e2c17..2e78c46 100644 --- a/qmake/generators/symbian/symmake.h +++ b/qmake/generators/symbian/symmake.h @@ -99,7 +99,7 @@ protected: void checkOverridability(QStringList &overridableKeywords, QString &checkString); void writeHeader(QTextStream &t); - void writeBldInfContent(QTextStream& t, bool addDeploymentExtension); + void writeBldInfContent(QTextStream& t, bool addDeploymentExtension, const QString &iconFile); static bool removeDuplicatedStrings(QStringList& stringList); @@ -143,7 +143,7 @@ protected: void generateDistcleanTargets(QTextStream& t); // Subclass implements - virtual void writeBldInfExtensionRulesPart(QTextStream& t) = 0; + virtual void writeBldInfExtensionRulesPart(QTextStream& t, const QString &iconTargetFile) = 0; virtual void writeBldInfMkFilePart(QTextStream& t, bool addDeploymentExtension) = 0; virtual void writeMkFile(const QString& wrapperFileName, bool deploymentOnly) = 0; virtual void writeWrapperMakefile(QFile& wrapperFile, bool isPrimaryMakefile) = 0; |