]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/qt5/qt5quickcontrols2/5.9.3/0001-Example-flatstyle-needs-widgets-module.patch
qt5quickcontrols2: fix examples compile without Qt widgets module
[coffee/buildroot.git] / package / qt5 / qt5quickcontrols2 / 5.9.3 / 0001-Example-flatstyle-needs-widgets-module.patch
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
6 Fixes compile with disabled widgets module.
7
8 Task-number: QTBUG-64761
9 Change-Id: I743884d77d51e89061d87cab006bab0cafc9ddb7
10
11 Upstream: https://codereview.qt-project.org/212583
12 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
13 ---
14  examples/quickcontrols2/quickcontrols2.pro | 3 ++-
15  1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/examples/quickcontrols2/quickcontrols2.pro b/examples/quickcontrols2/quickcontrols2.pro
18 index 858759f..8310e9b 100644
19 --- a/examples/quickcontrols2/quickcontrols2.pro
20 +++ b/examples/quickcontrols2/quickcontrols2.pro
21 @@ -6,5 +6,6 @@ SUBDIRS += \
22      contactlist \
23      sidepanel \
24      swipetoremove \
25 -    flatstyle \
26      wearable
27 +
28 +qtHaveModule(widgets): SUBDIRS += flatstyle
29 -- 
30 2.7.4
31