From 388b272d32bca3c9e46d571a7a4a94bbbc2b11dc Mon Sep 17 00:00:00 2001
From: Andras Becsi <andras.becsi@digia.com>
Date: Tue, 29 Oct 2013 13:34:28 +0100
Subject: [PATCH] Fix qmake -r by moving load(qt_parts) to the end of the
 project

This is an issue for non-developer builds of Qt where the forwarding
headers have to be generated before processing the examples project
files.

Change-Id: I683227c97a763c48b8ab090580f37f7134680c59
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
---
 qtwebengine.pro | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/qtwebengine.pro b/qtwebengine.pro
index 3c7b2e980..605e0a2e1 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)
-- 
GitLab