kumquat-buildroot/package/qt5
Gaël PORTAY fadaaabe6f 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]: 79ee1b2ff0/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>
2018-02-27 22:00:20 +01:00
..
qt5base qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5canvas3d qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5charts qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5connectivity qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5declarative qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5enginio
qt5graphicaleffects qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5imageformats qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5location qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5multimedia qt5multimedia: fix build issue with mesa3d w/out xcb 2018-02-27 22:00:20 +01:00
qt5quickcontrols qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5quickcontrols2 qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5script qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5scxml qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5sensors qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5serialbus qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5serialport qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5svg qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5tools qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5virtualkeyboard qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5wayland qt5wayland: fix build issue with mesa3d w/out xcb 2018-02-27 21:48:17 +01:00
qt5webchannel qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5webengine qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5webkit qt5webkit: fix build issue with mesa3d w/out xcb 2018-02-27 21:59:05 +01:00
qt5webkit-examples qt5: fetch sources using https URLs 2018-02-14 21:24:10 +01:00
qt5websockets qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5x11extras qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt5xmlpatterns qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
qt53d qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00
Config.in
qt5.mk qt5: bump latest version to 5.9.4 2018-02-27 20:18:51 +01:00