diff --git a/qtwebengine.pro b/qtwebengine.pro
index 3c7b2e9800940fee882ff5a95768832e76f8595e..605e0a2e1d688ad9e46a710288c45a394e53d3c0 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -1,5 +1,3 @@
-load(qt_parts)
-
 TEMPLATE = subdirs
 
 # The first three subdirs contain dummy .pro files that are used by qmake
@@ -55,3 +53,6 @@ debug.depends: qmake
 
 QMAKE_EXTRA_TARGETS += release \
                        debug
+
+# Move this to the beginning of the project file as soon as we moved to the src layout
+load(qt_parts)