diff options
author | Gaël PORTAY <gael.portay@savoirfairelinux.com> | 2018-02-11 23:25:23 -0500 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-02-27 22:00:20 +0100 |
commit | fadaaabe6f79da130f3e68fca23f12f0ffd6b20f (patch) | |
tree | 39821bf4710c5c780b22c599ad068190d58cffd9 /package/qt5/qt5multimedia/Config.in | |
parent | e46f9fde78e53740bd00c077275d3cd80d7792c7 (diff) | |
download | buildroot-fadaaabe6f79da130f3e68fca23f12f0ffd6b20f.tar.gz buildroot-fadaaabe6f79da130f3e68fca23f12f0ffd6b20f.zip |
qt5multimedia: fix build issue with mesa3d w/out xcb
The mesa's EGL/eglplatform.h header includes X11 headers unless the flag
MESA_EGL_NO_X11_HEADERS is defined[1].
A build issue happens when mesa3d is selected as then OpenGL EGL backend
but the XCB library is not selected.
This commit tells qmake to pass the cflag MESA_EGL_NO_X11_HEADERS to
make and prevent from including the missing X headers.
The issue QTBUG-66233 is opened in the Qt tracker[1].
Fixes:
In file included from
/home/gportay/src/buildroot/output-qt5.10/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/EGL/egl.h:39:0,
from qsgvideonode_egl.h:48,
from qsgvideonode_egl.cpp:40:
/home/gportay/src/buildroot/output-qt5.10/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/EGL/eglplatform.h:118:22:
fatal error: X11/Xlib.h: No such file or directory
#include <X11/Xlib.h>
^
compilation terminated.
Makefile:550: recipe for target '.obj/qsgvideonode_egl.o' failed
[1]: https://github.com/mesa3d/mesa/blob/79ee1b2ff0b85f4eeb4165d23a7943c28d3a3d93/include/EGL/eglplatform.h#L109-L125
[2]: https://bugreports.qt.io/browse/QTBUG-66233
[Peter: simplify logic]
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt5/qt5multimedia/Config.in')
0 files changed, 0 insertions, 0 deletions