docker-engine: new package
[buildroot-gz.git] / package / qt5 / qt5base / 0006-eglfs-rasp-pi-header-inclusion.patch
blobf1f6d9b0b7b3946a7005bd8556e87b1f9a426650
1 From 91c3b111e45dd476aba057836b1b618eacf90f3f Mon Sep 17 00:00:00 2001
2 From: Julien Corjon <corjon.j@ecagroup.com>
3 Date: Tue, 21 Jul 2015 09:58:14 +0200
4 Subject: [PATCH] eglfs - fix rasp-pi header inclusion
6 eglplateform.h include headers for low level instruction and fail on brcm
7 headers inclusion
8 For the brcm presence test we use egl pkg-config file
9 For the eglfs-plugin compilation we use the egl configuration
11 Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47339
12 Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
13 ---
14 config.tests/qpa/eglfs-brcm/eglfs-brcm.pro | 2 ++
15 src/plugins/platforms/eglfs/eglfs-plugin.pro | 1 +
16 2 files changed, 3 insertions(+)
18 diff --git a/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro b/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
19 index ce16a3a..192a8ad 100644
20 --- a/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
21 +++ b/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
22 @@ -1,6 +1,8 @@
23 SOURCES = eglfs-brcm.cpp
25 CONFIG -= qt
26 +CONFIG += link_pkgconfig
27 +PKGCONFIG += egl
29 INCLUDEPATH += $$QMAKE_INCDIR_EGL
31 diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro
32 index 0f493fd..8479496 100644
33 --- a/src/plugins/platforms/eglfs/eglfs-plugin.pro
34 +++ b/src/plugins/platforms/eglfs/eglfs-plugin.pro
35 @@ -6,6 +6,7 @@ PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin
36 load(qt_plugin)
38 QT += platformsupport-private eglfs_device_lib-private
39 +CONFIG += egl
41 SOURCES += $$PWD/qeglfsmain.cpp
43 --
44 2.1.0