diff options
author | Thomas Zander <t.zander@nokia.com> | 2010-05-12 13:55:27 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2010-05-12 16:25:53 (GMT) |
commit | f699d9af27c8450a36266d8542c54d53a6d57f15 (patch) | |
tree | 6a9339f1f988ef2ef13d06d3e244d0df20f94596 | |
parent | 51a5901a26169276131c88aab3184fb0fa5b814c (diff) | |
download | Qt-f699d9af27c8450a36266d8542c54d53a6d57f15.zip Qt-f699d9af27c8450a36266d8542c54d53a6d57f15.tar.gz Qt-f699d9af27c8450a36266d8542c54d53a6d57f15.tar.bz2 |
Add 'runonphone' target for symbian / makefile
This new target simply takes a sis file and runs the app on phone.
Reviewed-by: Shane Kearns
-rw-r--r-- | mkspecs/common/symbian/symbian-makefile.conf | 1 | ||||
-rw-r--r-- | mkspecs/features/symbian/run_on_phone.prf | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/symbian-makefile.conf b/mkspecs/common/symbian/symbian-makefile.conf index 2397c96..66b3d7f 100644 --- a/mkspecs/common/symbian/symbian-makefile.conf +++ b/mkspecs/common/symbian/symbian-makefile.conf @@ -26,6 +26,7 @@ include(../../common/unix.conf) QMAKE_PREFIX_SHLIB = QMAKE_EXTENSION_SHLIB = dll CONFIG *= no_plugin_name_prefix +CONFIG += run_on_phone QMAKE_EXTENSION_PLUGIN = dll QMAKE_PREFIX_STATICLIB = QMAKE_EXTENSION_STATICLIB = lib 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 +} |