summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/symbian/run_on_phone.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/symbian/run_on_phone.prf')
-rw-r--r--mkspecs/features/symbian/run_on_phone.prf9
1 files changed, 9 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/run_on_phone.prf b/mkspecs/features/symbian/run_on_phone.prf
new file mode 100644
index 0000000..c4c7baf
--- /dev/null
+++ b/mkspecs/features/symbian/run_on_phone.prf
@@ -0,0 +1,9 @@
+# make sure we have a sis file and then call 'runonphone' to execute it on the phone
+
+contains(TEMPLATE, app) {
+ run_target.target = runonphone
+ run_target.depends = sis
+ run_target.commands = runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis "$${sis_destdir}$${TARGET}.sis" "$${TARGET}.exe" $(QT_RUN_OPTIONS)
+
+ QMAKE_EXTRA_TARGETS += run_target
+}