From 68dafa5c85122148d63e61fb22509996cd6159bc Mon Sep 17 00:00:00 2001 From: axis Date: Thu, 10 Jun 2010 13:27:02 +0200 Subject: Enable runonphone target for libraries as well. RevBy: Miikka Heikkinen --- mkspecs/features/symbian/run_on_phone.prf | 5 +++-- 1 file 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 } -- cgit v0.12