summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-06-10 11:27:02 (GMT)
committeraxis <qt-info@nokia.com>2010-06-10 11:27:53 (GMT)
commit68dafa5c85122148d63e61fb22509996cd6159bc (patch)
tree9aaff83cf9ffb440d00dd4761573d568bf4e9b19 /mkspecs
parent2bd88e81fc70b694f65efbde2866cc5262f09da2 (diff)
downloadQt-68dafa5c85122148d63e61fb22509996cd6159bc.zip
Qt-68dafa5c85122148d63e61fb22509996cd6159bc.tar.gz
Qt-68dafa5c85122148d63e61fb22509996cd6159bc.tar.bz2
Enable runonphone target for libraries as well.
RevBy: Miikka Heikkinen
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/run_on_phone.prf5
1 files changed, 3 insertions, 2 deletions
diff --git a/mkspecs/features/symbian/run_on_phone.prf b/mkspecs/features/symbian/run_on_phone.prf
index c4c7baf..8a33dbd 100644
--- a/mkspecs/features/symbian/run_on_phone.prf
+++ b/mkspecs/features/symbian/run_on_phone.prf
@@ -1,9 +1,10 @@
# make sure we have a sis file and then call 'runonphone' to execute it on the phone
-contains(TEMPLATE, app) {
+contains(TEMPLATE, app)|!equals(DEPLOYMENT, default_deployment) {
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)
+ run_target.commands = runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis "$${sis_destdir}$${TARGET}.sis"
+ contains(TEMPLATE, "app"):run_target.commands += "$${TARGET}.exe" $(QT_RUN_OPTIONS)
QMAKE_EXTRA_TARGETS += run_target
}