summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-06-10 11:31:40 (GMT)
committeraxis <qt-info@nokia.com>2010-06-10 11:31:40 (GMT)
commit69b2e6e861debf71132277b123b59c87bb6e2c9e (patch)
tree6527c2d89cb468a571637f197976cfd20ed10162 /mkspecs
parent68dafa5c85122148d63e61fb22509996cd6159bc (diff)
downloadQt-69b2e6e861debf71132277b123b59c87bb6e2c9e.zip
Qt-69b2e6e861debf71132277b123b59c87bb6e2c9e.tar.gz
Qt-69b2e6e861debf71132277b123b59c87bb6e2c9e.tar.bz2
Fixed destdir not being defined.
Local variables can't be counted upon between different profiles. RevBy: Trust me
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/run_on_phone.prf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/run_on_phone.prf b/mkspecs/features/symbian/run_on_phone.prf
index 8a33dbd..d3d2cfb 100644
--- a/mkspecs/features/symbian/run_on_phone.prf
+++ b/mkspecs/features/symbian/run_on_phone.prf
@@ -1,6 +1,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) {
+ sis_destdir = $$DESTDIR
+ !isEmpty(sis_destdir):!contains(sis_destdir, "[/\\\\]$"):sis_destdir = $${sis_destdir}/
+ contains(QMAKE_HOST.os, "Windows"):sis_destdir = $$replace(sis_destdir, "/", "\\")
+
run_target.target = runonphone
run_target.depends = sis
run_target.commands = runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis "$${sis_destdir}$${TARGET}.sis"