From 69b2e6e861debf71132277b123b59c87bb6e2c9e Mon Sep 17 00:00:00 2001 From: axis Date: Thu, 10 Jun 2010 13:31:40 +0200 Subject: Fixed destdir not being defined. Local variables can't be counted upon between different profiles. RevBy: Trust me --- mkspecs/features/symbian/run_on_phone.prf | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v0.12