summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_deployment.qdoc
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-03-24 11:42:38 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-03-24 11:47:32 (GMT)
commitb87edcb5fe59b590e20367b167e50abbb23484f4 (patch)
tree12a3436fd5c6929b5a68daf07764ebdff545a160 /doc/src/snippets/code/doc_src_deployment.qdoc
parenta2f2c87f320873d1968d931ad69a0f640c5545b1 (diff)
downloadQt-b87edcb5fe59b590e20367b167e50abbb23484f4.zip
Qt-b87edcb5fe59b590e20367b167e50abbb23484f4.tar.gz
Qt-b87edcb5fe59b590e20367b167e50abbb23484f4.tar.bz2
Clarified pkg_prerules usage documentation.
The default_deployment item shouldn't be used to add own rules. Task-number: QTBUG-9277 Reviewed-by: Janne Anttila
Diffstat (limited to 'doc/src/snippets/code/doc_src_deployment.qdoc')
-rw-r--r--doc/src/snippets/code/doc_src_deployment.qdoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/snippets/code/doc_src_deployment.qdoc b/doc/src/snippets/code/doc_src_deployment.qdoc
index 3b0cda1..48e9ac6 100644
--- a/doc/src/snippets/code/doc_src_deployment.qdoc
+++ b/doc/src/snippets/code/doc_src_deployment.qdoc
@@ -463,7 +463,8 @@ vendorinfo = \
"%{\"Example Localized Vendor\"}" \
":\"Example Vendor\""
-default_deployment.pkg_prerules = vendorinfo
+my_deployment.pkg_prerules = vendorinfo
+DEPLOYMENT += my_deployment
//! [56]
//! [57]
@@ -471,7 +472,9 @@ supported_platforms = \
"; This demo only supports S60 5.0" \
"[0x1028315F],0,0,0,{\"S60ProductID\"}"
-default_deployment.pkg_prerules += supported_platforms
+default_deployment.pkg_prerules -= pkg_platform_dependencies
+my_deployment.pkg_prerules += supported_platforms
+DEPLOYMENT += my_deployment
//! [57]
//! [58]