summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/enable_backup.prf
blob: 9e81d56f998a004ccae088c6d929c68e484a1066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}