[oe] [meta-qt5][PATCH V2] qtbase: add disable option to opengl PACKAGECONFIG

Hongxu Jia hongxu.jia at windriver.com
Tue Apr 17 12:51:49 UTC 2018


On 2018年04月17日 18:39, Martin Jansa wrote:
> How does this work with gles2 PACKAGECONFIG?
>
> It was intentionally like this to implement tri-state options 
> (desktop, es2, no).
>

Yes, you are right

//Hongxu

> On Tue, Apr 17, 2018 at 11:17 AM, Hongxu Jia <hongxu.jia at windriver.com 
> <mailto:hongxu.jia at windriver.com>> wrote:
>
>     The qtbase detect oepngl by default and report error if not found,
>     add disable option while explicitly disable it.
>
>     Remove useless no-opengl PACKAGECONFIG
>
>     Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com
>     <mailto:hongxu.jia at windriver.com>>
>     ---
>      recipes-qt/qt5/qtbase_git.bb <http://qtbase_git.bb> | 3 +--
>      1 file changed, 1 insertion(+), 2 deletions(-)
>
>     diff --git a/recipes-qt/qt5/qtbase_git.bb <http://qtbase_git.bb>
>     b/recipes-qt/qt5/qtbase_git.bb <http://qtbase_git.bb>
>     index 5c4fe4f..ca056af 100644
>     --- a/recipes-qt/qt5/qtbase_git.bb <http://qtbase_git.bb>
>     +++ b/recipes-qt/qt5/qtbase_git.bb <http://qtbase_git.bb>
>     @@ -111,9 +111,8 @@ PACKAGECONFIG[ico] = "-ico,-no-ico"
>      PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib"
>      PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre"
>      PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs,drm"
>     -PACKAGECONFIG[gl] = "-opengl desktop,,virtual/libgl"
>     +PACKAGECONFIG[gl] = "-opengl desktop,-no-opengl,virtual/libgl"
>      PACKAGECONFIG[gles2] = "-opengl es2,,virtual/libgles2 virtual/egl"
>     -PACKAGECONFIG[no-opengl] = "-no-opengl"
>      PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib"
>      PACKAGECONFIG[cups] = "-cups,-no-cups,cups"
>      PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus"
>     -- 
>     2.7.4
>
>     -- 
>     _______________________________________________
>     Openembedded-devel mailing list
>     Openembedded-devel at lists.openembedded.org
>     <mailto:Openembedded-devel at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>     <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
>
>




More information about the Openembedded-devel mailing list