diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-08-24 13:03:34 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-08-24 13:09:06 (GMT) |
commit | 33ad8aa89a214143f3ffb0850e81daffca2ac68d (patch) | |
tree | 6fd3d36f882f3e816d4b9f643eb8557a31539e84 /mkspecs/common/symbian/symbian.conf | |
parent | a9822d39136a3f7912cc68320cfe030d95b4cb4f (diff) | |
download | Qt-33ad8aa89a214143f3ffb0850e81daffca2ac68d.zip Qt-33ad8aa89a214143f3ffb0850e81daffca2ac68d.tar.gz Qt-33ad8aa89a214143f3ffb0850e81daffca2ac68d.tar.bz2 |
Fix BLD_INF_RULES.prj_exports statements in Qt libs for shadow builds.
Task-number: QTBUG-10432
Rubber-stamped-by: ossi
Reviewed-by: TrustMe
Diffstat (limited to 'mkspecs/common/symbian/symbian.conf')
-rw-r--r-- | mkspecs/common/symbian/symbian.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/symbian.conf b/mkspecs/common/symbian/symbian.conf index b19eece..61a6228 100644 --- a/mkspecs/common/symbian/symbian.conf +++ b/mkspecs/common/symbian/symbian.conf @@ -302,3 +302,10 @@ defineReplace(addLanguageDependentPkgItem) { return($$join(pkgLanguageList,",",,)) } + +# Sometimes a relative path to original .pro file directory is necessary when doing shadow builds. +defineReplace(relativeProPath) { + RELATIVE_PRO_FILE_PWD = $$replace(OUT_PWD, "^.:", "") # Lose drive letter if any + RELATIVE_PRO_FILE_PWD = $$replace(RELATIVE_PRO_FILE_PWD, "/[^/]*", "../")$$replace(_PRO_FILE_PWD_, "^[^/]*/", "") + return($$RELATIVE_PRO_FILE_PWD) +} |