path: root/tools/qmake/mkspecs/features/default_pre.prf
diff options
authorAndras Becsi <>2014-01-27 15:52:09 +0100
committerThe Qt Project <>2014-01-28 12:58:21 +0100
commit14992ac7cf0754b8a97a8cedf40c2b63aa26d421 (patch)
tree79607961507466d4d9bb88c1027e3bf726e5f68d /tools/qmake/mkspecs/features/default_pre.prf
parentcf50b2f77f7b0f38c1f3bfd5efe8dbf0a779ecb0 (diff)
Fix the build on embedded platforms
We should not include chromium headers outside of core since they might depend on defines or other build options only set in the gyp/ninja environment. This patch removes the need to include net/base/net_errors.h in the API implementation of the QQuickWebEngineView and also removes the chromium source directory from the global include path. This prevents including chromium headers outside of core by mistake and also makes it possible to load the project in QtCreator without disabling indexing. Change-Id: Icd13b6caa52509ef2a1b6b44eaffb34d8ae4addf Reviewed-by: Zeno Albisser <>
Diffstat (limited to 'tools/qmake/mkspecs/features/default_pre.prf')
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/qmake/mkspecs/features/default_pre.prf b/tools/qmake/mkspecs/features/default_pre.prf
index 6a02a6bbd..4de449511 100644
--- a/tools/qmake/mkspecs/features/default_pre.prf
+++ b/tools/qmake/mkspecs/features/default_pre.prf
@@ -3,15 +3,6 @@ QTWEBENGINE_ROOT = $$replace(PWD, /tools/qmake/mkspecs/features$,)
-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. has not been used)
-isEmpty(git_chromium_src_dir): git_chromium_src_dir = "src/3rdparty/chromium"
-CHROMIUM_SRC_DIR = $$absolute_path("$$git_chromium_src_dir", "$$QTWEBENGINE_ROOT")
# Tweaks that shouldn't affect our examples
!contains(_PRO_FILE_PWD_, $$QTWEBENGINE_ROOT/examples) {
# Used for our export macros