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
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>
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
23 SOURCES = eglfs-brcm.cpp
26 +CONFIG += link_pkgconfig
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
38 QT += platformsupport-private eglfs_device_lib-private
41 SOURCES += $$PWD/qeglfsmain.cpp