diff --git a/configure.pri b/configure.pri
index 196c9abb11dba6bac2ea025ce15e205ac26f6984..eff7d8f6113143ba87a171b538f9d73bebd1b63f 100644
--- a/configure.pri
+++ b/configure.pri
@@ -1,4 +1,4 @@
-include(src/core/config/functions.pri)
+include(src/buildtools/config/functions.pri)
 
 # this must be done outside any function
 QTWEBENGINE_SOURCE_TREE = $$PWD
diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
index e6c74fc87d6cd4bd01bd00355fdc6b274a8277a4..a301929dc84f0e3934b771ae7cfa84287d7b7aea 100644
--- a/mkspecs/features/functions.prf
+++ b/mkspecs/features/functions.prf
@@ -70,9 +70,9 @@ defineReplace(gnPath) {
 }
 
 defineReplace(gnArgs) {
-    linux: include($$QTWEBENGINE_ROOT/src/core/config/linux.pri)
-    macos: include($$QTWEBENGINE_ROOT/src/core/config/mac_osx.pri)
-    win32: include($$QTWEBENGINE_ROOT/src/core/config/windows.pri)
+    linux: include($$QTWEBENGINE_ROOT/src/buildtools/config/linux.pri)
+    macos: include($$QTWEBENGINE_ROOT/src/buildtools/config/mac_osx.pri)
+    win32: include($$QTWEBENGINE_ROOT/src/buildtools/config/windows.pri)
     isEmpty(gn_args): error(No gn_args found please make sure you have valid configuration.)
     return($$gn_args)
 }
diff --git a/src/core/config/common.pri b/src/buildtools/config/common.pri
similarity index 100%
rename from src/core/config/common.pri
rename to src/buildtools/config/common.pri
diff --git a/src/core/config/functions.pri b/src/buildtools/config/functions.pri
similarity index 100%
rename from src/core/config/functions.pri
rename to src/buildtools/config/functions.pri
diff --git a/src/core/config/linux.pri b/src/buildtools/config/linux.pri
similarity index 100%
rename from src/core/config/linux.pri
rename to src/buildtools/config/linux.pri
diff --git a/src/core/config/mac_osx.pri b/src/buildtools/config/mac_osx.pri
similarity index 100%
rename from src/core/config/mac_osx.pri
rename to src/buildtools/config/mac_osx.pri
diff --git a/src/core/config/windows.pri b/src/buildtools/config/windows.pri
similarity index 100%
rename from src/core/config/windows.pri
rename to src/buildtools/config/windows.pri