summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-02-04 12:10:53 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-02-04 12:28:06 (GMT)
commit10c7730877d314ec4eda6728e2d66c38beff8d62 (patch)
tree145b8fe4d8b1ca4e74379eac36f92eab092a2f60 /mkspecs/features
parent4cee615df52a3d984986d07e8125d3b01973f4a9 (diff)
downloadQt-10c7730877d314ec4eda6728e2d66c38beff8d62.zip
Qt-10c7730877d314ec4eda6728e2d66c38beff8d62.tar.gz
Qt-10c7730877d314ec4eda6728e2d66c38beff8d62.tar.bz2
Implement Symbian support for enable_backup CONFIG value
The enable_backup CONFIG value can be used to generate deployment for backup registration file for an application. BACKUP_REGISTRATION_FILE variable can be used to specify a custom backup registration file. Task-number: QTBUG-17214 Reviewed-by: axis
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/enable_backup.prf15
1 files changed, 15 insertions, 0 deletions
diff --git a/mkspecs/features/enable_backup.prf b/mkspecs/features/enable_backup.prf
new file mode 100644
index 0000000..9e81d56
--- /dev/null
+++ b/mkspecs/features/enable_backup.prf
@@ -0,0 +1,15 @@
+# Generate deployment for backup registration file
+symbian {
+ isEmpty(BACKUP_REGISTRATION_FILE) {
+ BACKUP_REGISTRATION_FILE = $$[QT_INSTALL_DATA]/mkspecs/common/symbian/backup_registration.xml
+ }
+
+ contains(TEMPLATE, app) {
+ backup_reg_deployment.path = /private/$$replace(TARGET.UID3, 0x,)
+ } else {
+ backup_reg_deployment.path = /private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,)
+ }
+
+ backup_reg_deployment.sources = $$BACKUP_REGISTRATION_FILE
+ DEPLOYMENT += backup_reg_deployment
+} \ No newline at end of file