Skip to contentSkip to conversation

Qt4 GLES (once again)

DISCUSSION Holger Hans Peter Freyther 2 participants 11 messages Dec 19, 2009 – Jan 6, 2010

lore
Share & tools
lore
#0 lore raw

Hi Koen, All,

we have the GLES problem once again in the Qt4 recipes. My opinion is still the same that a "bitbake meta-toolchain-qte" should work without requiring downloading proprietary stuff from TI/PowerVR.

From what I think to know, the only difference between GLES and the non GLES recipe is that we have one plugin more. Koen could you help me to verify that?

If the above is the case, we could just use qt4-embedded-gles (without claiming to provide anything else) and then just package the GLES plugin?

what do you think?

regards z.

#1 lore raw
Quoted 5 lines · Holger Hans Peter Freyther

Hi Koen, All,

we have the GLES problem once again in the Qt4 recipes. My opinion is still the same that a "bitbake meta-toolchain-qte" should work without requiring downloading proprietary stuff from TI/PowerVR.

Exactly

Quoted 2 lines

From what I think to know, the only difference between GLES and the non GLES
recipe is that we have one plugin more. Koen could you help me to verify that?

For qt/e it's one plugin more (a gfxdriver) and library (openvg) and for qt/x11 it's one plugin (gldriver) + 2 libs (opengl + openvg) more.

Quoted 2 lines

If the above is the case, we could just use qt4-embedded-gles (without claiming to provide anything else) and then just package the GLES plugin?

That was my original goal, but the current structure of the .inc makes that very hard to do. I tried packaging *only* the extra stuff, but that leave to with one big problem: you need to build regular QT first and you can't build QT if a QT is present in staging.

I'm open to suggestions that don't involve useflags.

regards,

Koen

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 11 lines · Koen Kooi
Quoted 7 lines · Holger Hans Peter Freyther

Hi Koen, All,

we have the GLES problem once again in the Qt4 recipes. My opinion is still
the same that a "bitbake meta-toolchain-qte" should work without requiring
downloading proprietary stuff from TI/PowerVR.

Exactly

Quoted 7 lines
Quoted 4 lines

From what I think to know, the only difference between GLES and the
non GLES
recipe is that we have one plugin more. Koen could you help me to verify that?

For qt/e it's one plugin more (a gfxdriver) and library (openvg) and for qt/x11 it's one plugin (gldriver) + 2 libs (opengl + openvg) more.

It looks like it also changes stuff in libQtGui(E) :(

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLMiloMkyGM64RGpERAsCYAKCu7ora2XgofUYjPZaznsbySr8x2QCglffO 97qYBGfnD1kQZYXvVm4/sNk=
=FvSK
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 3 lines · On Wednesday 23 December 2009 15:30:00 Koen Kooi wrote:

On 20-12-09 20:05, Koen Kooi wrote:

It looks like it also changes stuff in libQtGui(E) :(

it does, it is compiling the egl and OpenVG part into libQtGui...

what about something like this? This way one can select qt4-embedded as default and switch to the gles variant when ones needs it?

recipes/qt4/qt4-embedded- renamed from recipes/qt4/qt4-embedded-gles_4.6.0.bb +0 -0

gles_4.6.0.bb
index f819c66..06cdcc5 100644

recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc
#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 10 lines · Holger Hans Peter Freyther
Quoted 3 lines · On Wednesday 23 December 2009 15:30:00 Koen Kooi wrote:

On 20-12-09 20:05, Koen Kooi wrote:

It looks like it also changes stuff in libQtGui(E) :(

it does, it is compiling the egl and OpenVG part into libQtGui...

what about something like this? This way one can select qt4-embedded as default and switch to the gles variant when ones needs it?

If that works, I can live with that.

regards,

Koen

Quoted 9 lines
recipes/qt4/qt4-embedded- renamed from recipes/qt4/qt4-embedded-gles_4.6.0.bb +0 -0

gles_4.6.0.bb
index f819c66..06cdcc5 100644

recipes/qt4/qt4-embedded-gles_4.6.0.bb line 7

Quoted 7 lines
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLPwOiMkyGM64RGpERAmelAJwJd3cqDmXGpbvEidLqG5CW/bhOPgCeOjzV uXKmwv73mpZgYn2LWi9kXCA=
=2TBV
-----END PGP SIGNATURE-----

#5 lore raw
Quoted 1 line · On Saturday 02 January 2010 09:28:18 Koen Kooi wrote:

If that works, I can live with that.

Hi Koen,

that is the current patch. It is working for the !GLES case and it would be great if you could test the GLES case and then I would be happy to commit it.

ich@knecht:/data/openembedded/openembedded$ cat 0001-qt4-embedded-make-qt4-embedded-and-qt4-
embedded-gles.patch 
From 4b7c9f94bc7441919e1b9e24179e0b45236739ae Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Mon, 4 Jan 2010 15:37:05 +0800
Subject: [PATCH] qt4-embedded: make qt4-embedded and qt4-embedded-gles both provide qt4-embedded

This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded = "qt4-embedded-gles" to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES require a dedicated library most of the time provided as a binary blob by the vendor requiring the user to manually download and store it at the right place.

---
 conf/compatibility-providers.conf      |    1 +
 recipes/qt4/qt4-embedded-gles_4.6.0.bb |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
conf/compatibility-providers.conf +1 -0
index 10a81f2..cf61ab5 100644
@@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
+PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded"
 PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
index f819c66..06cdcc5 100644
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc
Signature · 1 line
1.6.5
Quoted 24 lines

regards,

Koen

recipes/qt4/qt4-embedded-gles_4.6.0.bb line 7

Quoted 13 lines
(quoted diff) +0 -0

b/recipes/qt4/qt4-embedded- gles_4.6.0.bb
index f819c66..06cdcc5 100644

recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#6 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Holger Hans Peter Freyther
Quoted 1 line · On Saturday 02 January 2010 09:28:18 Koen Kooi wrote:

If that works, I can live with that.

Hi Koen,

that is the current patch. It is working for the !GLES case and it would be great if you could test the GLES case and then I would be happy to commit it.

For one it's missing the qt4-x11 case :)

regards,

Koen

Quoted 35 lines

ich@knecht:/data/openembedded/openembedded$ cat 0001-qt4-embedded-make-qt4-embedded-and-qt4-
embedded-gles.patch 
From 4b7c9f94bc7441919e1b9e24179e0b45236739ae Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Mon, 4 Jan 2010 15:37:05 +0800
Subject: [PATCH] qt4-embedded: make qt4-embedded and qt4-embedded-gles both provide qt4-embedded

This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded = "qt4-embedded-gles" to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES require a dedicated library most of the time provided as a binary blob by the vendor requiring the user to manually download and store it at the right place.

---
 conf/compatibility-providers.conf      |    1 +
 recipes/qt4/qt4-embedded-gles_4.6.0.bb |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
conf/compatibility-providers.conf +1 -0
index 10a81f2..cf61ab5 100644
@@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
+PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded"
 PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
recipes/qt4/qt4-embedded-gles_4.6.0.bb +0 -0
index f819c66..06cdcc5 100644

recipes/qt4/qt4-embedded-gles_4.6.0.bb line 7

Quoted 7 lines
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLQaUgMkyGM64RGpERAiziAKC5XLmNDn/ZnMtfNCn/Z5PZZOZziQCdEiWt yRluDfRgv/sO6OcWRWb7kwE=
=ZKyX
-----END PGP SIGNATURE-----

#7 lore raw
Quoted 11 lines · On Monday 04 January 2010 09:21:52 Koen Kooi wrote:
Quoted 8 lines · Holger Hans Peter Freyther
Quoted 1 line · On Saturday 02 January 2010 09:28:18 Koen Kooi wrote:

If that works, I can live with that.

Hi Koen,

that is the current patch. It is working for the !GLES case and it would be great if you could test the GLES case and then I would be happy to commit it.

For one it's missing the qt4-x11 case :)

could you please test?

From 10bd4976831427aadee784ca046d9aedb6ea1407 Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Mon, 4 Jan 2010 15:37:05 +0800
Subject: [PATCH] qt4: Make the gles variants for Embedded and X11 provide the normal variant

This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded = "qt4-embedded-gles" to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES require a dedicated library most of the time provided as a binary blob by the vendor requiring the user to manually download and store it at the right place.

For X11 we already have a PREFERRED_PROVIDER setting in place and don't need to update.

---
 conf/compatibility-providers.conf               |    1 +
 recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled |    1 +
 recipes/qt4/qt4-embedded-gles_4.6.0.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_4.5.2.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_4.6.0.bb          |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)
conf/compatibility-providers.conf +1 -0
index 10a81f2..cf61ab5 100644
@@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
+PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded"
 PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled +1 -0
index 5aa07c2..a888e7d 100644
@@ -9,6 +9,7 @@ require qt4-embedded_${PV}.bb
 LICENSE = "LGPLv2.1 GPLv3"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-embedded"
 SRC_URI += "file://sgx-hack.patch;patch=1"
 
 export EXTRA_QMAKE_MUNGE = " glmunge "
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
index f819c66..06cdcc5 100644
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc
recipes/qt4/qt4-x11-free-gles_4.5.2.bb +1 -0
index cd81841..a3f60bf 100644
@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb
 PR = "${INC_PR}.3"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-x11-free"
 #SRC_URI += "file://sgx-hack.patch;patch=1"
 SRC_URI += "file://hack-out-pg_config.patch;patch=1"
 
recipes/qt4/qt4-x11-free-gles_4.6.0.bb +1 -0
index a74feaf..cc3aeed 100644
@@ -13,5 +13,6 @@ QT_CONFIG_FLAGS += " \
 FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-x11-free"
 
 
Signature · 1 line
1.6.5
#8 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Holger Hans Peter Freyther

For X11 we already have a PREFERRED_PROVIDER setting in place and don't need to update.

Thats not quite true, only qt4x11 is defined, but we need qt4-x11-free.

Quoted 61 lines
---
 conf/compatibility-providers.conf               |    1 +
 recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled |    1 +
 recipes/qt4/qt4-embedded-gles_4.6.0.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_4.5.2.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_4.6.0.bb          |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)
conf/compatibility-providers.conf +1 -0
index 10a81f2..cf61ab5 100644
@@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
+PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded"
 PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled +1 -0
index 5aa07c2..a888e7d 100644
@@ -9,6 +9,7 @@ require qt4-embedded_${PV}.bb
 LICENSE = "LGPLv2.1 GPLv3"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-embedded"
 SRC_URI += "file://sgx-hack.patch;patch=1"
 
 export EXTRA_QMAKE_MUNGE = " glmunge "
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
index f819c66..06cdcc5 100644
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.0"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc
recipes/qt4/qt4-x11-free-gles_4.5.2.bb +1 -0
index cd81841..a3f60bf 100644
@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb
 PR = "${INC_PR}.3"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-x11-free"
 #SRC_URI += "file://sgx-hack.patch;patch=1"
 SRC_URI += "file://hack-out-pg_config.patch;patch=1"
 
recipes/qt4/qt4-x11-free-gles_4.6.0.bb +0 -0
index a74feaf..cc3aeed 100644

recipes/qt4/qt4-x11-free-gles_4.6.0.bb QT_CONFIG_FLAGS += " \ · line 18

Quoted 6 lines
recipes/qt4/qt4-x11-free-gles_4.6.0.bb +1 -0
@@ -13,5 +13,6 @@ QT_CONFIG_FLAGS += " \
 FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-x11-free"
 
 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLQcR/MkyGM64RGpERAhihAJ4rTawa5X9G5LBJSUtKlNzLyW+WWACgiFKR C1M0OR8CoPeTWwIVzGuBlgU=
=4yvX
-----END PGP SIGNATURE-----

#9 lore raw
Quoted 5 lines · On Monday 04 January 2010 11:35:43 Koen Kooi wrote:
Quoted 2 lines · Holger Hans Peter Freyther

For X11 we already have a PREFERRED_PROVIDER setting in place and don't need to update.

Thats not quite true, only qt4x11 is defined, but we need qt4-x11-free.

Good point. Should we keep both? What about replacing all occurences of qt4- x11-free with qt4x11? Or do you think it makes sense to make all of them provide qt4x11 and qt4-x11-free?

z

PS: Could you test the Embedded variant for now?

#10 lore raw
In reply to Koen Kooi
Quoted 5 lines · On Monday 04 January 2010 11:35:43 Koen Kooi wrote:
Quoted 2 lines · Holger Hans Peter Freyther

For X11 we already have a PREFERRED_PROVIDER setting in place and don't need to update.

Thats not quite true, only qt4x11 is defined, but we need qt4-x11-free.

What about these two? I'm killing the qt4x11 PROVIDER stupidity... It does not make any sense nowadays and we should kill "-free" from the Qt package in the future as well.

z.

From 252fb7cc8618f2f16b724a1b0a844d27fb3bb4b0 Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Wed, 6 Jan 2010 12:22:16 +0800
Subject: [PATCH 1/5] qt4x11: Cease out the qt4x11 PROVIDER

* The LGPL and Commercial edition are actually the same tarball.
* If someone sees the need he can take qt qt4-recipes and specify -commercial in the compilation.

---
 classes/qt4x11.bbclass            |    2 +-
 conf/compatibility-providers.conf |    2 +-
 conf/distro/kaeilos.conf          |    4 ----
 recipes/qt4/qt4-x11-free.inc      |    1 -
 4 files changed, 2 insertions(+), 7 deletions(-)
classes/qt4x11.bbclass +1 -1
index aa2e2a1..2d56b7e 100644
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qt4x11 ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}"
+DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}"
 
 inherit qmake2
 
conf/compatibility-providers.conf +1 -1
index 10a81f2..61a3730 100644
@@ -47,7 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
-PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
+PREFERRED_PROVIDER_qt4-x11-free ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
 PREFERRED_PROVIDER_tslib ?= "tslib"
conf/distro/kaeilos.conf +0 -4
index 4d790f4..03595db 100644
@@ -182,10 +182,6 @@ PREFERRED_PROVIDER_gdk-pixbuf-loader-wbmp ?= "gtk+"
 PREFERRED_PROVIDER_gdk-pixbuf-loader-xbm  ?= "gtk+"
 PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm  ?= "gtk+"
 
-# QT stuff:
-# There are several flavours of qt4x11 in OE, so lets pick one that is buildable for everyone
-PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free"
-
 #Silence a warning during parsing
 PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap"
 
recipes/qt4/qt4-x11-free.inc +0 -1
index ade148b..dffe3a0 100644
@@ -4,7 +4,6 @@ PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com"
 LICENSE = "GPL QPL"
 DEPENDS += "virtual/libx11 fontconfig xft libxext libxrender libxrandr libxcursor"
-PROVIDES = "qt4x11"
 
 INC_PR = "r14"
 
Signature · 1 line
1.6.5

From 3d941e890f9eeab142d5521a72fbb563a2d804ed Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <[email protected]>
Date: Mon, 4 Jan 2010 15:37:05 +0800
Subject: [PATCH 2/5] qt4: Make the gles variants for Embedded and X11 provide the normal variant

This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded = "qt4-embedded-gles" to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES require a dedicated library most of the time provided as a binary blob by the vendor requiring the user to manually download and store it at the right place.

For X11 we already have a PREFERRED_PROVIDER setting in place and don't need to update.

---
 conf/compatibility-providers.conf               |    1 +
 recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled |    1 +
 recipes/qt4/qt4-embedded-gles_4.6.0.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_4.5.2.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_4.6.0.bb          |    1 +
 recipes/qt4/qt4-x11-free-gles_git.bb.disabled   |    1 +
 6 files changed, 6 insertions(+), 0 deletions(-)
conf/compatibility-providers.conf +1 -0
index 61a3730..0d8e9bc 100644
@@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr"
 PREFERRED_PROVIDER_opkg ?= "opkg"
 #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg"
 PREFERRED_PROVIDER_qemu-native ?= "qemu-native"
+PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded"
 PREFERRED_PROVIDER_qt4-x11-free ?= "qt4-x11-free"
 PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap"
 PREFERRED_PROVIDER_tslib-conf ?= "tslib"
recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled +1 -0
index 5aa07c2..a888e7d 100644
@@ -9,6 +9,7 @@ require qt4-embedded_${PV}.bb
 LICENSE = "LGPLv2.1 GPLv3"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-embedded"
 SRC_URI += "file://sgx-hack.patch;patch=1"
 
 export EXTRA_QMAKE_MUNGE = " glmunge "
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
index 04e074f..915dd07 100644
@@ -1,6 +1,7 @@
 require qt4-embedded.inc
 PR = "${INC_PR}.1"
 
+PROVIDES += "qt4-embedded"
 QT_GLFLAGS = "-opengl es2 -openvg"
 
 require qt-4.6.0.inc
recipes/qt4/qt4-x11-free-gles_4.5.2.bb +1 -0
index cd81841..a3f60bf 100644
@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb
 PR = "${INC_PR}.3"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-x11-free"
 #SRC_URI += "file://sgx-hack.patch;patch=1"
 SRC_URI += "file://hack-out-pg_config.patch;patch=1"
 
recipes/qt4/qt4-x11-free-gles_4.6.0.bb +1 -0
index 089992c..8d09d89 100644
@@ -13,5 +13,6 @@ QT_CONFIG_FLAGS += " \
 FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free"
 
 DEPENDS += "virtual/egl"
+PROVIDES += "qt4-x11-free"
 
 
recipes/qt4/qt4-x11-free-gles_git.bb.disabled +1 -0
index 22db2df..5977891 100644
@@ -5,6 +5,7 @@ FILESPATHPKG =. "qt4-x11-free-${PV}:qt4-x11-free:"
 QT_GLFLAGS = "-opengl es1 -openvg" 
 
 require qt4-x11-free.inc
+PROVIDES = "qt4-x11-free"
 LICENSE = "LGPLv2.1 GPLv3"
 PR = "${INC_PR}.0+gitr${SRCREV}"
 
Signature · 1 line
1.6.5