summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/symbian/run_on_phone.prf
blob: 8a33dbd74f79cc9cac5ca6734115ce7616317c9a (plain)
1
2
3
4
5
6
7
8
9
10
# make sure we have a sis file and then call 'runonphone' to execute it on the phone

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"
    contains(TEMPLATE, "app"):run_target.commands += "$${TARGET}.exe" $(QT_RUN_OPTIONS)

    QMAKE_EXTRA_TARGETS += run_target
}