summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-22 13:09:34 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-22 14:52:04 (GMT)
commit24020b3997ad263e457426e831a7ef50b4bf730c (patch)
tree7190f0c7936efc5dd8c5fe846cfdebbca57ac965 /mkspecs
parentda7c6cc8995f063435b25938ac10739a6e7f0067 (diff)
downloadQt-24020b3997ad263e457426e831a7ef50b4bf730c.zip
Qt-24020b3997ad263e457426e831a7ef50b4bf730c.tar.gz
Qt-24020b3997ad263e457426e831a7ef50b4bf730c.tar.bz2
Make ICON generation (to symbian mif) work for relative paths/shadow builds
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/symbian/application_icon.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/application_icon.prf b/mkspecs/features/symbian/application_icon.prf
index 1109060..ecf987d 100644
--- a/mkspecs/features/symbian/application_icon.prf
+++ b/mkspecs/features/symbian/application_icon.prf
@@ -31,6 +31,7 @@ contains( CONFIG, no_icon ) {
# Note: symbian-sbsv2 builds can't utilize extra compiler for mifconv, so ICON handling is done in code
!symbian-sbsv2 {
+ !contains(ICON, "^(/|\\|.:).*"):ICON = $$_PRO_FILE_PWD_/$$ICON #absolute path
#Makefile: requires paths with backslash
ICON_backslashed = $$ICON
contains(QMAKE_HOST.os, "Windows"):ICON_backslashed = $$replace( ICON_backslashed, /, \\)
@@ -50,6 +51,7 @@ contains( CONFIG, no_icon ) {
# Based on: http://www.forum.nokia.com/document/Cpp_Developers_Library
# svg-t icons should always use /c32 depth
mifconv.commands = mifconv $$mifconv.target /c32 $$ICON_backslashed
+
mifconv.depends = $$ICON
PRE_TARGETDEPS += $$mifconv.target
QMAKE_EXTRA_TARGETS += mifconv