summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5webkit-examples/0001-build.patch
blob: 68964f01ff4fc0dc6e33eb0b50ec8ff1f5d99f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This patch improves the qt5webkit examples build for 2 aspects:

# Allows to build even if qt5base examples are not enabled
# Builds xmlpatterns example only if the qt5xmlpattern package has been built

Signed-off-by: Massimo Callegari <massimocallegari@yahoo.it>

Index: b/examples/webkitwidgets/webkitwidgets.pro
===================================================================
--- /dev/null
+++ b/examples/webkitwidgets/webkitwidgets.pro
@@ -8,5 +8,6 @@
             framecapture \
             browser \
             embedded \
-            scroller \
-            xmlpatterns
+            scroller
+
+qtHaveModule(xmlpatterns): SUBDIRS += xmlpatterns
Index: b/qtwebkit-examples.pro
===================================================================
--- /dev/null
+++ b/qtwebkit-examples.pro
@@ -3,3 +3,4 @@
 load(qt_parts)
 
 SUBDIRS += doc
+SUBDIRS += examples

OpenPOWER on IntegriCloud