kumquat-buildroot/package/qt5/qt5webkit-examples/0001-build.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

31 lines
872 B
Diff

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