summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-25 10:47:45 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-11-25 10:47:45 +0100
commit5ca2d76b78df1839b92b04d7d6e7710f5d402c98 (patch)
tree69cd30c70fff2cb66ff498f5a120d822ccc2eaac /tools
parentecfb3ba8a7eb116c838a1acd5b82ca59ce76b082 (diff)
parent6766290699acd0d73c81cf690012d52729e518b9 (diff)
Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: src/3rdparty Change-Id: Ib9c9eca457c1c42dab948e6cb56d44b57d5da32a
Diffstat (limited to 'tools')
-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 6ee9be57d..236ee8ac5 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -292,7 +292,7 @@ defineReplace(getConfigDir) {
}
defineReplace(getChromiumSrcDir) {
- git_chromium_src_dir = $$system("git config qtwebengine.chromiumsrcdir")
+ exists($$QTWEBENGINE_ROOT/.git): git_chromium_src_dir = $$system("git config qtwebengine.chromiumsrcdir")
# Fall back to the snapshot path if git does not know about chromium sources (i.e. init-repository.py has not been used)
isEmpty(git_chromium_src_dir): git_chromium_src_dir = "src/3rdparty/chromium"
return($$git_chromium_src_dir)