[Buildroot] [PATCH 1/3] package/qt: Fix Kconfig for OpenGL support

Peter Korsgaard peter at korsgaard.com
Mon Jun 13 20:18:53 UTC 2016


>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:

 > BR2_PACKAGE_QT_OPENGL_ES was moved to a choice option. This option kind
 > can apparently not be selected by other packages. Therefore this patch
 > introduces a new Kconfig option BR2_PACKAGE_QT_OPENGL which takes care
 > of OpenGL support as such, BR2_PACKAGE_QT_OPENGL_NONE is not needed
 > anymore now. The choice options are now only used to determine the
 > type of OpenGL support.

 > This patch contains the necessary preparation to fix a build error in
 > the qwt package.

 > Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
 > ---
 >  package/qt/Config.in | 14 +++++++++++---
 >  1 file changed, 11 insertions(+), 3 deletions(-)

 > diff --git a/package/qt/Config.in b/package/qt/Config.in
 > index 14b13ce..2ca0cb5 100644
 > --- a/package/qt/Config.in
 > +++ b/package/qt/Config.in
 > @@ -350,14 +350,20 @@ config BR2_PACKAGE_QT_PHONON_BACKEND
 >  	  Build the platform Phonon plugin.
 >  	  If unsure, say n.
 
 > +config BR2_PACKAGE_QT_OPENGL
 > +	bool "OpenGL support"
 > +	depends on BR2_PACKAGE_HAS_LIBGL || \
 > +	(BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES)
 > +	help

This doesn't match with the dependencies of the _GL_DESKTOP / _OPENGL_ES
options, so you can enable this and have none of the options available
(E.G. the intel mesa3d driver without X11).

Committed with that fixed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list