summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorLucian Varlan <lucian.i.varlan@nokia.com>2011-01-10 13:36:17 (GMT)
committerAdrian Constantin <adrian.constantin@nokia.com>2011-01-11 13:47:58 (GMT)
commit9c2019dc09f4c8faed454c33b6d3e1756d938fac (patch)
tree08b2576eca7c61270e43b41da32294040f64c82e /mkspecs
parentd99454b20a23c4717c74cfb827f86cc0cca16eb3 (diff)
downloadQt-9c2019dc09f4c8faed454c33b6d3e1756d938fac.zip
Qt-9c2019dc09f4c8faed454c33b6d3e1756d938fac.tar.gz
Qt-9c2019dc09f4c8faed454c33b6d3e1756d938fac.tar.bz2
Do not override the target path if already defined
Reviewed-by: Adrian Constantin
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qttest_p4.prf5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/qttest_p4.prf b/mkspecs/features/qttest_p4.prf
index d1c7c2b..193812b 100644
--- a/mkspecs/features/qttest_p4.prf
+++ b/mkspecs/features/qttest_p4.prf
@@ -13,5 +13,8 @@ symbian:{
# prefix test binary with tst_
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
-target.path += $$[QT_INSTALL_PREFIX]/tests/qt4
+isEmpty(target.path) {
+ target.path += $$[QT_INSTALL_PREFIX]/tests/qt4
+}
+
INSTALLS += target