[meta-freescale] imx-3.10.31-1.1.0_beta : QT opengl dependency

Otavio Salvador otavio at ossystems.com.br
Thu Oct 9 14:37:21 PDT 2014


On Tue, Oct 7, 2014 at 7:55 AM, Yannick Calmettes
<yannick.calmettes at analogway.com> wrote:
> I want to remove opengl support to my machine so I had
> DISTRO_FEATURES_remove =  "opengl " to my local.conf (i'm using poky
> distro).
> But by doing this all QT packages raise me an error because they do not find
> provider for opengl package.
> It seems that the problem comes from
> "meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend" that add support
> for opengl without test DISTRO_FEATURES :
>
> PACKAGECONFIG_GL_mx6 = "gles2"
> PACKAGECONFIG_append_mx6 = " tslib icu examples"
> QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', '
> -no-eglfs', ' -eglfs', d)}"
>
> What is the best (and clean) way to correct this ?

You need to check if opengl is on distro features when passing -eglfs.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list