From 9c2019dc09f4c8faed454c33b6d3e1756d938fac Mon Sep 17 00:00:00 2001 From: Lucian Varlan Date: Mon, 10 Jan 2011 15:36:17 +0200 Subject: Do not override the target path if already defined Reviewed-by: Adrian Constantin --- mkspecs/features/qttest_p4.prf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v0.12