105c23cedb
QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES is no longer useful since eglfs does not depend on the device makespecs anymore. Instead, backends are autodetected by configure [1]. We still need specifics include path for rpi eglfs support. 0008-forkd-disable-eventfd-for-uclibc.patch disable missing eventfd in new Qt 3rd party forkd for uClibc toolchains. Remove patches commited in Qt mainline and update pending one [1] https://codereview.qt-project.org/#/c/107548/ Passed test : - Full compilation on ARM/uClibc - Partialy compiled and tested on i.MX6/linaro with OpenGL backend - Partialy compiled but not executed for Raspberry Pi (rpi-userland) Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
From 91c3b111e45dd476aba057836b1b618eacf90f3f Mon Sep 17 00:00:00 2001
|
|
From: Julien Corjon <corjon.j@ecagroup.com>
|
|
Date: Tue, 21 Jul 2015 09:58:14 +0200
|
|
Subject: [PATCH] eglfs - fix rasp-pi header inclusion
|
|
|
|
eglplateform.h include headers for low level instruction and fail on brcm
|
|
headers inclusion
|
|
For the brcm presence test we use egl pkg-config file
|
|
For the eglfs-plugin compilation we use the egl configuration
|
|
|
|
Upstream-Status: https://bugreports.qt.io/browse/QTBUG-47339
|
|
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
|
|
---
|
|
config.tests/qpa/eglfs-brcm/eglfs-brcm.pro | 2 ++
|
|
src/plugins/platforms/eglfs/eglfs-plugin.pro | 1 +
|
|
2 files changed, 3 insertions(+)
|
|
|
|
diff --git a/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro b/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
|
|
index ce16a3a..192a8ad 100644
|
|
--- a/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
|
|
+++ b/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
|
|
@@ -1,6 +1,8 @@
|
|
SOURCES = eglfs-brcm.cpp
|
|
|
|
CONFIG -= qt
|
|
+CONFIG += link_pkgconfig
|
|
+PKGCONFIG += egl
|
|
|
|
INCLUDEPATH += $$QMAKE_INCDIR_EGL
|
|
|
|
diff --git a/src/plugins/platforms/eglfs/eglfs-plugin.pro b/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
|
index 0f493fd..8479496 100644
|
|
--- a/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
|
+++ b/src/plugins/platforms/eglfs/eglfs-plugin.pro
|
|
@@ -6,6 +6,7 @@ PLUGIN_CLASS_NAME = QEglFSIntegrationPlugin
|
|
load(qt_plugin)
|
|
|
|
QT += platformsupport-private eglfs_device_lib-private
|
|
+CONFIG += egl
|
|
|
|
SOURCES += $$PWD/qeglfsmain.cpp
|
|
|
|
--
|
|
2.1.0
|
|
|