0001-build.patch 872 B

123456789101112131415161718192021222324252627282930
  1. This patch improves the qt5webkit examples build for 2 aspects:
  2. # Allows to build even if qt5base examples are not enabled
  3. # Builds xmlpatterns example only if the qt5xmlpattern package has been built
  4. Signed-off-by: Massimo Callegari <massimocallegari@yahoo.it>
  5. Index: b/examples/webkitwidgets/webkitwidgets.pro
  6. ===================================================================
  7. --- /dev/null
  8. +++ b/examples/webkitwidgets/webkitwidgets.pro
  9. @@ -8,5 +8,6 @@
  10. framecapture \
  11. browser \
  12. embedded \
  13. - scroller \
  14. - xmlpatterns
  15. + scroller
  16. +
  17. +qtHaveModule(xmlpatterns): SUBDIRS += xmlpatterns
  18. Index: b/qtwebkit-examples.pro
  19. ===================================================================
  20. --- /dev/null
  21. +++ b/qtwebkit-examples.pro
  22. @@ -3,3 +3,4 @@
  23. load(qt_parts)
  24. SUBDIRS += doc
  25. +SUBDIRS += examples