0001-Example-flatstyle-needs-widgets-module.patch 941 B

12345678910111213141516171819202122232425262728293031
  1. From 10d92524cd6736c767c9ce55a1d9b9f1a2a69a9f Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Sat, 25 Nov 2017 22:26:58 +0100
  4. Subject: [PATCH] Example flatstyle needs widgets module
  5. Fixes compile with disabled widgets module.
  6. Task-number: QTBUG-64761
  7. Change-Id: I743884d77d51e89061d87cab006bab0cafc9ddb7
  8. Upstream: https://codereview.qt-project.org/212583
  9. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  10. ---
  11. examples/quickcontrols2/quickcontrols2.pro | 3 ++-
  12. 1 file changed, 2 insertions(+), 1 deletion(-)
  13. diff --git a/examples/quickcontrols2/quickcontrols2.pro b/examples/quickcontrols2/quickcontrols2.pro
  14. index 858759f..8310e9b 100644
  15. --- a/examples/quickcontrols2/quickcontrols2.pro
  16. +++ b/examples/quickcontrols2/quickcontrols2.pro
  17. @@ -6,5 +6,6 @@ SUBDIRS += \
  18. contactlist \
  19. sidepanel \
  20. swipetoremove \
  21. - flatstyle \
  22. wearable
  23. +
  24. +qtHaveModule(widgets): SUBDIRS += flatstyle
  25. --
  26. 2.7.4