Browse files

qt4-embedded: avoid circular dependencies for reciped providing qt4-e…


* qt4e.bbclass did add a dependency on qt4-embedded for recipes
  providing qt4-embedded. This breaks building of qt4-embedded-gles
  in 2 ways:

  1. PREFERRED_PROVIDER_qt4-embedded = qt4-embedded-gles
     adds a circular dependency.

  2. bitbake qt4-embedded-gles
     first builds and installs qt4-embedded to sysroots/ and then
     fails to link the qt4-embedded-gles build against the libs in
     sysroots which don't provide the gl specific symbols

* The fix avoids adding the dependency for package names _beginning_
  with 'qt4-embedded' (as it is done in the x11 version).

Signed-off-by: Koen Kooi <>
  • Loading branch information...
1 parent 7f20d12 commit 224e98468078e9267b0b4c2d72bfb0eb3b2863ec @pirobk pirobk committed with Koen Kooi Sep 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/qt4e.bbclass
2 classes/qt4e.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qt4-embedded ", ""][('PN', d, 1) == 'qt4-embedded')]}"
+DEPENDS_prepend = "${@["qt4-embedded ", ""][('PN', d, 1)[:12] == 'qt4-embedded')]}"
inherit qmake2
QT_DIR_NAME = "qtopia"

0 comments on commit 224e984

Please sign in to comment.