diff options
Diffstat (limited to 'recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch')
-rw-r--r-- | recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch b/recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch new file mode 100644 index 00000000..998f8b67 --- /dev/null +++ b/recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 201b36614907584a0d446975bddbb11a495540ed Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 22 Feb 2014 17:47:44 +0100 | ||
4 | Subject: [PATCH] examples.pro: include server-buffer only when building with | ||
5 | opengles2 | ||
6 | |||
7 | * it's using glBindBuffer in | ||
8 | server-buffer/client/serverbufferrenderer.cpp | ||
9 | |||
10 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
11 | Change-Id: I8412dfd4ebb95c147328ac6e4dfff14a0cff4e78 | ||
12 | --- | ||
13 | examples/examples.pro | 4 +++- | ||
14 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/examples/examples.pro b/examples/examples.pro | ||
17 | index 2d4cd1b..fb2497e 100644 | ||
18 | --- a/examples/examples.pro | ||
19 | +++ b/examples/examples.pro | ||
20 | @@ -13,5 +13,7 @@ contains(CONFIG, wayland-compositor) { | ||
21 | SUBDIRS += qml-compositor | ||
22 | } | ||
23 | |||
24 | - SUBDIRS += server-buffer | ||
25 | + contains(QT_CONFIG, opengles2) { | ||
26 | + SUBDIRS += server-buffer | ||
27 | + } | ||
28 | } | ||
29 | -- | ||
30 | 1.8.5.3 | ||
31 | |||