[agl-discussions] How to build agl-project with meta-qt5 layer

Walt Miner wminer at linuxfoundation.org
Mon Sep 7 13:36:48 UTC 2015


Thanks for the update. I will see you Tuesday!

On Mon, Sep 7, 2015 at 4:03 AM, Tadao Tanikawa <
tanikawa.tadao at jp.panasonic.com> wrote:

> Hi Walt,
>
> I don't have any plan to post patch about qt5 yet.
>
> My status about Qt5 is
>   - succeeded in building Qt5 with meta-agl-demo (bitbake
> agl-demo-platform)
>   - checking test program of Qt5 is NOT YET (no time left to travel to AMM)
>   - all additional metadata I used is from meta-genivi-demo/recipes-qt
>
> # By the way, I could boot agl-demo-platform with systemd :)
>
> Regards,
> Tadao Tanikawa
>
> (2015/09/05 6:12), Walt Miner wrote:
>
>> Hello Jens and Tanikawa-san,
>> What is the status of this?  Will Qt 5 be submitted to gerrit by Tuesday
>> (start of the AMM?)
>>
>> Regards,
>> Walt
>>
>> On Fri, Aug 28, 2015 at 9:41 AM, Bocklage, Jens <Jens_Bocklage at mentor.com
>> <mailto:Jens_Bocklage at mentor.com>> wrote:
>>
>>     Hello everyone,____
>>
>>     __ __
>>
>>     please find below some instructions to integrate meta-qt5 into
>> project. ____
>>
>>
>> ----------------------------------------------------------------------------------------------------------____
>>
>>     1.For integration of qt5 into agl-image-ivi the following repos have
>> to be taken:____
>>
>>     __ __
>>
>>     //get git url for agl from here and see the README.md how to use:____
>>
>>
>> https://git.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=blob;f=README.md;h=a92dfe8de4e6614a8d4dbbaaddbccaa06f1e4c75;hb=4e6823fb7a9763715fb554cfb0df2dc318d741a7____
>>
>>     __ __
>>
>>     URI: git://git.yoctoproject.org/poky <
>> http://git.yoctoproject.org/poky>____
>>
>>     > branch:   dizzy____
>>
>>     > revision: 5f0d25152bac2d3798663a4ebfdd2df24060f153____
>>
>>     __ __
>>
>>     URI: git://git.openembedded.org/meta-openembedded <
>> http://git.openembedded.org/meta-openembedded>____
>>
>>     > layer:    meta-oe____
>>
>>     > branch:   dizzy____
>>
>>     > revision: 853dcfa0d618dc26bd27b3a1b49494b98d6eee97____
>>
>>     __ __
>>
>>     ## The Renesas R-Car Gen2 (Porter) board depends in addition on:
>> ##____
>>
>>     URI: https://gerrit.automotivelinux.org/gerrit/AGL/meta-renesas____
>>
>>     > branch:   agl-1.0-bsp-1.8.0____
>>
>>     > revision: 0a69b07cfca17d1435f2bc7bf779139c5fac09a3____
>>
>>     __ __
>>
>>     URI: https://github.com/meta-qt5/meta-qt5.git____
>>
>>     > branch:   dizzy____
>>
>>     > revision: adeca0db212d61a933d7952ad44ea1064cfca747____
>>
>>     __ __
>>
>>
>> ----------------------------------------------------------------------------------------------------------------____
>>
>>     2. Modification of bblayers.conf and  local.conf in  build/conf
>> directory to set the build config ____
>>
>>     __ __
>>
>>     2.1 in bblayers.conf, the additional layers have to be added:____
>>
>>     __ __
>>
>>     these are:____
>>
>>     -meta-openembedded/meta-ruby____
>>
>>     -meta-qt5____
>>
>>     __ __
>>
>>     so the bblayers.conf might look like ->____
>>
>>     __ __
>>
>>     # LAYER_CONF_VERSION is increased each time
>> build/conf/bblayers.conf____
>>
>>     # changes incompatibly____
>>
>>     LCONF_VERSION = "6"____
>>
>>     __ __
>>
>>     BBPATH = "${TOPDIR}"____
>>
>>     BBFILES ?= ""____
>>
>>     __ __
>>
>>     BBLAYERS ?= " \____
>>
>>        /your/path/to/project/poky/meta \____
>>
>>        /your/path/to/project/poky/meta-yocto \____
>>
>>        /your/path/to/project/poky/meta-yocto-bsp \____
>>
>>        /your/path/to/project/poky/../meta-openembedded/meta-oe \____
>>
>>        /your/path/to/project/poky/../meta-openembedded/meta-ruby \____
>>
>>        /your/path/to/project/poky/../meta-qt5 \____
>>
>>        /your/path/to/project/poky/../meta-agl/meta-agl \____
>>
>>        /your/path/to/project/poky/../meta-agl/meta-agl-bsp \____
>>
>>        /your/path/to/project/poky/../meta-renesas \____
>>
>>        /your/path/to/project/poky/../meta-renesas/meta-rcar-gen2 \____
>>
>>        "____
>>
>>     BBLAYERS_NON_REMOVABLE ?= " \____
>>
>>        /your/path/to/project/poky/meta \____
>>
>>        /your/path/to/project/poky/meta-yocto \____
>>
>>        /your/path/to/project/meta-agl/meta-agl \____
>>
>>        "____
>>
>>     __ __
>>
>>     2.2 local.conf, the machine have to be set  to "porter":____
>>
>>     __ __
>>
>>     ...____
>>
>>     #MACHINE ?= "beaglebone"____
>>
>>     #MACHINE ?= "genericx86"____
>>
>>     #MACHINE ?= "genericx86-64"____
>>
>>     #MACHINE ?= "mpc8315e-rdb"____
>>
>>     #MACHINE ?= "edgerouter"____
>>
>>     MACHINE ?= "porter"____
>>
>>     ...____
>>
>>     __ __
>>
>>     2.3 for the integration of qt and qt examples two packagegroups have
>> to be added:____
>>
>>        //add new packagegroups for qt5 integration____
>>
>>        -...../meta-agl/meta-agl/recipes-ivi/packagegroups/
>> packagegroup-agl-ivi-qt5.bb <http://packagegroup-agl-ivi-qt5.bb>____
>>
>>            -which contains the qt5 packages to be used for agl____
>>
>>        ....../meta-agl/meta-agl/recipes-ivi/packagegroups/
>> packagegroup-agl-ivi-qt5-examples.bb <
>> http://packagegroup-agl-ivi-qt5-examples.bb>____
>>
>>            -which contains the qt5 examples packages to be used for
>> agl____
>>
>>        //to make qt and qt examples part of your image, add the two new
>> packagegroup files to ____
>>
>>        -...../meta-agl/meta-agl/recipes-ivi/packagegroups/
>> packagegroup-agl-ivi.bb <http://packagegroup-agl-ivi.bb>____
>>
>>            -which includes all the ivi packagegroup files____
>>
>>     __ __
>>
>>
>> --------------------------------------------------------------------------------------------------------------------------____
>>
>>     3. To run a successful build  the following build problems may be
>> fixed:____
>>
>>     __ __
>>
>>     3.1 Fix of the build problem of gstreamer bbappend version in meta
>> renesas:____
>>
>>     __ __
>>
>>
>>  /path/to/project/poky/../meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/common/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend____
>>
>>
>>  /path/to/project/poky/../meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend____
>>
>>     __ __
>>
>>     Change of version XXX_1.2.3.bbappend to wildcard format
>> XXX_%.bbappend for all bbappends listed above. The problem originally
>> occured by using the new poky version.____
>>
>>     __ __
>>
>>     __ __
>>
>>        3.2 Modification of file for gstreamer1.0-plugins-base problem____
>>
>>     __ __
>>
>>        in file:
>> ...../meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend____
>>
>>     __ __
>>
>>        change do_configure____
>>
>>     __ __
>>
>>        from:____
>>
>>        do_configure() {____
>>
>>          ./autogen.sh --noconfigure____
>>
>>          oe_runconf____
>>
>>        }____
>>
>>     __ __
>>
>>        to:____
>>
>>        do_configure() {____
>>
>>          (cd ${S} && ./autogen.sh --noconfigure)____
>>
>>          oe_runconf____
>>
>>        }____
>>
>>     __ __
>>
>>     __ __
>>
>>     3.3 some config options in qtbase.inc have to be added:____
>>
>>     __ __
>>
>>     // Adding icu in qtbase.inc, because its necessary to have
>> qtwebkit____
>>
>>     __ __
>>
>>     ...____
>>
>>     PACKAGECONFIG_ICU ?= "icu"____
>>
>>     ...____
>>
>>     PACKAGECONFIG ?= " \____
>>
>>     ...____
>>
>>          ${PACKAGECONFIG_ICU} \____
>>
>>     "____
>>
>>     __ __
>>
>>     __ __
>>
>>     // Adding examples in qtbase.inc, because its necessary to have qt
>> examples in rootfs____
>>
>>     __ __
>>
>>     ...____
>>
>>     PACKAGECONFIG_EXAMPLES ?= "examples"____
>>
>>     ...____
>>
>>     PACKAGECONFIG ?= " \____
>>
>>     ...____
>>
>>          ${PACKAGECONFIG_EXAMPLES} \____
>>
>>     "____
>>
>>     __ __
>>
>>
>> ------------------------------------------------------------------------------------------------------------------____
>>
>>     4.To build the agl-image-ivi use the following command____
>>
>>     bitbake agl-image-ivi____
>>
>>     __ __
>>
>>     __ __
>>
>>
>> ------------------------------------------------------------------------------------------------------------------____
>>
>>     5. Runnning qt examples____
>>
>>     __ __
>>
>>     to run a qt example the following command has to be used____
>>
>>     __ __
>>
>>     ./analogclock -platform wayland-egl____
>>
>>     __ __
>>
>>     where also the platform to be used has to be passed.____
>>
>>     __ __
>>
>>     check platforms available:____
>>
>>     ls /usr/lib/qt5/plugins/platforms/____
>>
>>     __ __
>>
>>     __ __
>>
>>
>> ----------------------------------------------------------------------------------------------------------------------____
>>
>>     6.*********************** known issues
>> **************************************____
>>
>>     __ __
>>
>>     6.1 with the first integration qtwebkit example applications do crash
>> with seg fault. This seems to be a problem in qtwebkit!! To be investigated
>> later!!____
>>
>>     __ __
>>
>>     __ __
>>
>>     __ __
>>
>>     *Jens Bocklage*____
>>
>>     Lead Engineer ____
>>
>>     Telefon ____
>>
>>
>>
>>     +49(7721)4060-437 <tel:+49(7721)4060-437> ____
>>
>>     Fax ____
>>
>>
>>
>>     +49(7721)4060-499 <tel:%2B49%287721%294060-499> ____
>>
>>     Jens_Bocklage at mentor.com <mailto:Jens_Bocklage at mentor.com> ____
>>
>>     Mentor Graphics (Development) GmbH____
>>
>>     *Mentor Graphics Development (Deutschland) GmbH*
>>     Peterzeller Strasse 8
>>     78048 Villingen-Schwenningen____
>>
>>     http://www.mentor.com ____
>>
>>     Mentor Graphics Development (Deutschland) GmbH
>>     Geschäftsführung: Dean Freed, Walter Vermijs, Shannon Wetzel____
>>
>>     Handelsregister: Amtsgericht Freiburg i.Br., HRB 705237
>>     Sitz der Gesellschaft: Peterzeller Straße 8, 78048
>> Villingen-Schwenningen
>>     USt-Id Nummer: DE268786819____
>>
>>     Confidentiality Notice: This e-mail message, including any
>> attachments, is for the sole use of the intended recipient(s) and may
>> contain confidential and privileged information. Any unauthorized review,
>> use, disclosure or distribution is prohibited. If you are not the intended
>> recipient, please contact the sender by return e-mail and destroy all
>> copies of the original message. ____
>>
>>     __ __
>>
>>
>>     _______________________________________________
>>     automotive-discussions mailing list
>>     automotive-discussions at lists.linuxfoundation.org <mailto:
>> automotive-discussions at lists.linuxfoundation.org>
>>
>> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
>>
>>
>>
>>
>> --
>> Walt Miner
>> Engineering Project Manager
>> The Linux Foundation
>> mobile: +1.847.502.7087
>> skype: vstarwalt
>>
>> Visit us at:
>> automotive.linuxfoundation.org <http://automotive.linuxfoundation.org>
>> www.linuxfoundation.org <http://www.linuxfoundation.org>
>>
>>
>>
>>
>> _______________________________________________
>> automotive-discussions mailing list
>> automotive-discussions at lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
>>
>>


-- 
Walt Miner
Engineering Project Manager
The Linux Foundation
mobile: +1.847.502.7087
skype: vstarwalt

Visit us at:
automotive.linuxfoundation.org
www.linuxfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/automotive-discussions/attachments/20150907/98ef3b6c/attachment-0001.html>


More information about the automotive-discussions mailing list