summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan Arvai <zarvai@inf.u-szeged.hu>2014-01-21 16:08:24 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-22 14:28:57 +0100
commit4d9836021e57eddf43e97ff6f5227b88a142d5e9 (patch)
tree58ce21dcb787384aa7e1714562b88a5f991d9a91
parent2a976806a8c02209fc2c7f1b365afd85ce2f31b2 (diff)
Fix findMocables on Windows
Replace doesn't matches anything with QMAKE_DIR_SEP, that is backslash on Windows, because absolute_path and _PRO_FILE_PWD_ returns forward slashes. Change-Id: Ieba1684782d565885f4069f408cfb129476e301d Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
-rw-r--r--tools/qmake/mkspecs/features/functions.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 0d0d37954..73907227a 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -29,7 +29,7 @@ defineReplace(findMocables) {
for (file, input): \
infiles += $$absolute_path($$file, $$_PRO_FILE_PWD_)
mocables = $$system("python $$QTWEBENGINE_ROOT/tools/buildscripts/find-mocables $$infiles")
- mocables = $$replace(mocables, $$_PRO_FILE_PWD_$${QMAKE_DIR_SEP}, '')
+ mocables = $$replace(mocables, $$_PRO_FILE_PWD_/, '')
return($$mocables)
}