summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-07-29 05:37:57 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-07-29 05:37:57 (GMT)
commitd050cb9c44d3c185a36f2af8be36ab70ce7a794e (patch)
tree5b7a9e3a37c22f7da643114e42531f68ff15f382 /examples
parent369d1e0999d1fd130777e0f48831734d30d03efa (diff)
downloadQt-d050cb9c44d3c185a36f2af8be36ab70ce7a794e.zip
Qt-d050cb9c44d3c185a36f2af8be36ab70ce7a794e.tar.gz
Qt-d050cb9c44d3c185a36f2af8be36ab70ce7a794e.tar.bz2
Extended PKG customization possibilities via qmake.
Task: 242139 This commit replaces Symbian specific 'depends' keyword in qmake DEPLOYMENT variable with two more generic ones. The new keywords are 'pkg_prerules' and 'pkg_postrules', and they allow developer to pass raw data to PKG file. The strings in 'pkg_prerules' are added before PKG file package-body headers and 'pkg_postrules' after them. Correspondingly as old 'depends' keyword, the new keywords are not parsed by qmake, so they must be in a format understood by Symbian package generation tools. Note that 'pkg_prerules' can also replace default language, package-header and vendor statements in pkg file. If you decide to override any of these statements, you need to pay attention that also other statements stay valid.
Diffstat (limited to 'examples')
-rw-r--r--examples/examplebase.pri12
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/examplebase.pri b/examples/examplebase.pri
index eff6588..84dcf92 100644
--- a/examples/examplebase.pri
+++ b/examples/examplebase.pri
@@ -1 +1,11 @@
-symbian:RSS_RULES ="group_name=\"QtExamples\";" \ No newline at end of file
+symbian {
+ RSS_RULES ="group_name=\"QtExamples\";"
+
+ vendorinfo = \
+ "; Localised Vendor name" \
+ "%{\"Nokia, Qt Software\"}" \
+ "; Unique Vendor name" \
+ ":\"Nokia, Qt Software\""
+ default_deployment.pkg_prerules += vendorinfo
+}
+ \ No newline at end of file