[poky] [PATCH 0/8] Add meta-toolchain-qte from OE

Koen Kooi koen at dominion.thruhere.net
Mon Jan 17 09:14:59 PST 2011


Op 17 jan 2011, om 17:54 heeft Paul Eggleton het volgende geschreven:

> These patches make the necessary changes to add meta-toolchain-qte from
> OpenEmbedded (and make it build successfully). Amongst other things this 
> required some tweaking of avahi to avoid dependency of avahi-dev / 
> avahi-utils on gtk+, which in turn required the addition of a flag to 
> control automatic RRECOMMENDS_ generation in package.bbclass.

FWIW, there's a more comprehensive integration for qt 4.6.3 and qt 4.7.1 available at http://cgit.openembedded.org/cgit.cgi/meta-openembedded/ . It's far from perfect, but it has the following advantages:

1) Working toolchain for usage on the target. For beagleboard.org workshops we hand people a beagle + sd card and that's all they need to create and QT apps.
2) Switching qt/e to qt/x11 is a matter of inheriting classes (recipe builds) or sourcing a different file (target toolchain)
3) full set of plugins. Some buildtime is traded to enable a "full" set of qt plugins people can optionally install. This saves customers^H^H^H^H users from a few hours of rebuilding just to get mysql bindings.

It would be nice to get the feature rich QT stuff from OE into yocto instead of something that lacks features. With my TI hat on: I have customers using the mysql bindings. With my Koen hat on: I use the postgres bindings :)

That being said, I like the poky qt-tools integration of qmake a bit better, but I haven't found the time to integrate the mkspecs feature into that yet.

regards,

Koen

> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>  Branch: paule/qt-fixes2
>  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=paule/qt-fixes2
> 
> Thanks,
>    Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
> 
> 
> Paul Eggleton (8):
>  Add directfb 1.4.6 from OpenEmbedded
>  qt4: add qt4-embedded 4.6.3 from OpenEmbedded
>  glib-2.0: extend to nativesdk
>  dbus: extend to nativesdk
>  Add qt4-tools-nativesdk 4.6.3 based on qt4-tools-sdk from
>    OpenEmbedded
>  package.bbclass: add nodeprrecs flag to RRECOMMENDS_pkgname
>  avahi: prevent unnecessary runtime dependency on gtk+
>  Add meta-toolchain-qte and dependent tasks from OpenEmbedded
> 
> meta/classes/package.bbclass                       |    2 +
> meta/classes/qt4e.bbclass                          |   17 +++
> meta/recipes-connectivity/avahi/avahi.inc          |    9 ++-
> meta/recipes-connectivity/avahi/avahi_0.6.28.bb    |    2 +-
> meta/recipes-core/dbus/dbus.inc                    |    3 +-
> meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb      |    2 +-
> meta/recipes-core/glib-2.0/glib.inc                |    1 +
> .../directfb/directfb-1.4.6/mkdfiff.patch          |   24 ++++
> meta/recipes-graphics/directfb/directfb.inc        |   71 ++++++++++++
> meta/recipes-graphics/directfb/directfb_1.4.6.bb   |   29 +++++
> .../directfb-1.2.x-fix-pkgconfig-cflags.patch      |   47 ++++++++
> .../directfb/files/dont-use-linux-config.patch     |   12 ++
> meta/recipes-qt/meta/meta-toolchain-qte.bb         |   32 ++++++
> .../recipes-qt/qt4/files/compile.test-lflags.patch |   13 +++
> meta/recipes-qt/qt4/files/configure-lflags.patch   |   13 +++
> meta/recipes-qt/qt4/files/configure-paths.patch    |   21 ++++
> meta/recipes-qt/qt4/files/qmake-exists-check.patch |   18 +++
> .../qt4/files/qthelp-lib-qtclucene.patch           |   86 +++++++++++++++
> meta/recipes-qt/qt4/qt4-embedded-4.6.3/qte.sh      |    7 ++
> meta/recipes-qt/qt4/qt4-embedded.inc               |   53 +++++++++
> meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb          |    6 +
> meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb   |  112 ++++++++++++++++++++
> meta/recipes-qt/tasks/task-qte-toolchain-host.bb   |    7 ++
> meta/recipes-qt/tasks/task-qte-toolchain-target.bb |   39 +++++++
> 24 files changed, 622 insertions(+), 4 deletions(-)
> create mode 100644 meta/classes/qt4e.bbclass
> create mode 100644 meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
> create mode 100644 meta/recipes-graphics/directfb/directfb.inc
> create mode 100644 meta/recipes-graphics/directfb/directfb_1.4.6.bb
> create mode 100644 meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
> create mode 100644 meta/recipes-graphics/directfb/files/dont-use-linux-config.patch
> create mode 100644 meta/recipes-qt/meta/meta-toolchain-qte.bb
> create mode 100644 meta/recipes-qt/qt4/files/compile.test-lflags.patch
> create mode 100644 meta/recipes-qt/qt4/files/configure-lflags.patch
> create mode 100644 meta/recipes-qt/qt4/files/configure-paths.patch
> create mode 100644 meta/recipes-qt/qt4/files/qmake-exists-check.patch
> create mode 100644 meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch
> create mode 100644 meta/recipes-qt/qt4/qt4-embedded-4.6.3/qte.sh
> create mode 100644 meta/recipes-qt/qt4/qt4-embedded.inc
> create mode 100644 meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb
> create mode 100644 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb
> create mode 100644 meta/recipes-qt/tasks/task-qte-toolchain-host.bb
> create mode 100644 meta/recipes-qt/tasks/task-qte-toolchain-target.bb
> 
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky




More information about the poky mailing list