[OE-core] [PATCH] qt4-x11-free: Fix Qt4 to build without opengl

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jan 28 10:26:49 UTC 2015


On Wednesday 28 January 2015 11:13:44 Fabien Proriol wrote:
> If we don't have opengl support on target, qt4 still depends to libgl, but
> Qt4 don't need it...
> 
> Signed-off-by: Fabien Proriol <fabien.proriol at jdsu.com>
> ---
>  meta/recipes-qt/qt4/qt4-x11-free.inc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc
> b/meta/recipes-qt/qt4/qt4-x11-free.inc index 3b1e0fe..ae3e1ca 100644
> --- a/meta/recipes-qt/qt4/qt4-x11-free.inc
> +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
> @@ -4,7 +4,8 @@ SUMMARY = "Cross-platform UI toolkit and application
> framework (X11 version)" DESCRIPTION = "Qt is a versatile cross-platform
> application framework -- this is the X11 version." HOMEPAGE =
> "http://qt-project.org/"
>  SECTION = "x11/libs"
> -DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext
> libxrender libxrandr libxcursor" 
> +DEPENDS += "virtual/libx11 fontconfig
> libxft libxext libxrender libxrandr libxcursor" 
> +DEPENDS += "${@bb.utils.contains('QT_CONFIG_FLAGS', '-opengl',
> 'virtual/libgl', '', d)} " 
> PROVIDES += "qt4-x11"
>  QT4DEPENDS = ""

Acked-by: Paul Eggleton <paul.eggleton at linux.intel.com>

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list