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

Hongxu Jia hongxu.jia at windriver.com
Tue Apr 17 09:04:44 UTC 2018


The qtbase detect oepngl by default and report error if not found,
add disable option while explicitly disable it.

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 recipes-qt/qt5/qtbase_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 5c4fe4f..db70b9e 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -111,7 +111,7 @@ 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"
-- 
2.7.4




More information about the Openembedded-devel mailing list