[oe] [meta-qt5][PATCH V3] qtbase: add -no-opengl to configure by default
Hongxu Jia
hongxu.jia at windriver.com
Tue Apr 17 14:56:13 UTC 2018
The qtbase detect oepngl by default and report error if opengl is not exist.
...
ERROR: The OpenGL functionality tests failed!
...
Remove no-opengl's PACKAGECONFIG, and add -no-opengl to configure by
default, it could be override by gl and gles2's PACKAGECONFIG.
Such as `./configure -no-opengl -opengl desktop', the latter option works.
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..fbee9b9 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -113,7 +113,6 @@ PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre"
PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs,drm"
PACKAGECONFIG[gl] = "-opengl desktop,,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"
@@ -195,6 +194,7 @@ do_configure() {
-hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \
-platform ${OE_QMAKE_PLATFORM_NATIVE} \
-xplatform ${XPLATFORM} \
+ -no-opengl \
${QT_CONFIG_FLAGS}
}
--
2.7.4
More information about the Openembedded-devel
mailing list