summaryrefslogtreecommitdiffstats
path: root/qtwebengine.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-01-23 12:43:57 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-08 17:47:43 +0100
commit28acdd2ad14d3a5fecc51b5b4bc9d05b6f80dbb5 (patch)
treeca32a46fd113b3a8bba233c5f3620850cc1a3537 /qtwebengine.pro
parent19715fbc5bbaf03506372b38b6c2e34d759faee3 (diff)
Make sure examples are always built
When building against Qt 5 release binaries, QT_BUILD_PARTS does not include examples. However we want to unconditionally build examples, until we become part of the Qt 5 module set. (cherry picked from commit f2fb23f23f67db841467752c2a4c2a5cb9ebde43) Change-Id: I6239c3f9280c50f5418947f711924be59265c4ce Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qtwebengine.pro')
-rw-r--r--qtwebengine.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/qtwebengine.pro b/qtwebengine.pro
index 58c33f27c..366446c7a 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -1 +1,8 @@
+load(qt_build_config)
+
+# As long as we are a module separate from the rest of Qt, we want to unconditionally build examples.
+# Once part of Qt 5, this should be removed and we should respect the Qt wide configuration.
+QTWEBENGINE_BUILD_PARTS = $$QT_BUILD_PARTS
+QTWEBENGINE_BUILD_PARTS *= examples
+
load(qt_parts)