summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingdong Lu <jingdong.lu@windriver.com>2010-12-03 17:13:29 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-12-10 21:57:08 -0800
commit0e4df9592b32308c27876897389f9091aec918d8 (patch)
tree60f567750866e4a4fbbfd0ff118e184f8fb77cae
parent4806041a85b766e1f95cc282e43aef718354a536 (diff)
downloadopenembedded-core-0e4df9592b32308c27876897389f9091aec918d8.tar.gz
openembedded-core-0e4df9592b32308c27876897389f9091aec918d8.tar.bz2
openembedded-core-0e4df9592b32308c27876897389f9091aec918d8.zip
Enable '-opengl' option for qt4 in order to generate libQtOpenGL.so
qt4-x11-free: Only build opengl for x86 platforms since only these have GL support at present [sgw@linux.intel.com: merged and fixed Signed-off-bys] Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free.inc3
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb2
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc
index 352df1e5a7..22eef7c0eb 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free.inc
+++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
@@ -5,6 +5,9 @@ PRIORITY = "optional"
DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
QT_GLFLAGS ?= "-no-opengl"
+QT_GLFLAGS_qemux86 = "-opengl"
+QT_GLFLAGS_emenlow = "-opengl"
+QT_GLFLAGS_atom-pc = "-opengl"
QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
QT_BASE_NAME ?= "qt4"
QT_BASE_LIB ?= "libqt"
diff --git a/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb b/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
index a6eb0cdd54..0a03e9b5a3 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
+++ b/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
@@ -1,7 +1,7 @@
require qt4-x11-free.inc
require qt-4.6.3.inc
-PR = "r0"
+PR = "r1"
QT_CONFIG_FLAGS += " -xrandr "