0001-Fix-no-opengl-builds.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. From 66429b5f6986bde1f491699216f095c5e25023cf Mon Sep 17 00:00:00 2001
  2. From: Allan Sandfeld Jensen <allan.jensen@qt.io>
  3. Date: Mon, 25 Sep 2017 16:53:24 +0200
  4. Subject: [PATCH] Fix no-opengl builds
  5. The qquickwidgets examples uses OpenGL directly
  6. Change-Id: I1cc8cfbcf249abc98473287a9d499032232828c7
  7. Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
  8. Upstream: https://code.qt.io/cgit/qt/qtdeclarative.git/patch/?id=fa52bb665d6beb77a951c14c8edcba3541850afc
  9. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  10. ---
  11. examples/quick/quick.pro | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/examples/quick/quick.pro b/examples/quick/quick.pro
  14. index 445dfb0f..7da255e9 100644
  15. --- a/examples/quick/quick.pro
  16. +++ b/examples/quick/quick.pro
  17. @@ -36,7 +36,7 @@ qtConfig(opengl(es1|es2)?) {
  18. # Widget dependent examples
  19. qtHaveModule(widgets) {
  20. SUBDIRS += embeddedinwidgets
  21. - qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
  22. + qtHaveModule(quickwidgets):qtConfig(opengl(es1|es2)?): SUBDIRS += quickwidgets
  23. }
  24. EXAMPLE_FILES = \
  25. --
  26. 2.15.0