diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-07-02 11:20:09 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-07-02 11:42:16 (GMT) |
commit | 6fd1da7a672532c53eb55b3e2467332d28df5943 (patch) | |
tree | c1963ae7b99a65b615711b6eaa94eeb147e708b8 /mkspecs | |
parent | 65316c0fcf9f0a406fd714622407e2b0e767fe7b (diff) | |
download | Qt-6fd1da7a672532c53eb55b3e2467332d28df5943.zip Qt-6fd1da7a672532c53eb55b3e2467332d28df5943.tar.gz Qt-6fd1da7a672532c53eb55b3e2467332d28df5943.tar.bz2 |
Support for "deploy" make target in Symbian
Executing "make deploy" will recreate project sis file and deploy it
into a device.
Task-number: QTBUG-5155
Reviewed-by: axis
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/sis_targets.prf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mkspecs/features/sis_targets.prf b/mkspecs/features/sis_targets.prf index c31e38f..19972d7 100644 --- a/mkspecs/features/sis_targets.prf +++ b/mkspecs/features/sis_targets.prf @@ -159,6 +159,16 @@ equals(GENERATE_SIS_TARGETS, true) { QMAKE_DISTCLEAN += $${sis_destdir}/$${baseTarget}.sis } + + deploy_target.target = deploy + contains(QMAKE_HOST.os, "Windows") { + deploy_target.depends = sis + deploy_target.commands = call $$target_sis_target.target + } else { + deploy_target.commands = @echo Deployment not supported in this environment + } + QMAKE_EXTRA_TARGETS += deploy_target + } else { contains(TEMPLATE, subdirs) { # Enable recursive sis target. |