[yocto] Could not inherit qt5 in to custom linux image.

Valentin Le bescond valentin.lebescond at gmail.com
Mon Mar 27 07:01:30 PDT 2017


Hi,

I'm also interested in this question. I am planning to write a qt5 app
recipe in the next few days.

I might be totally wrong but I looked a bit at the meta-qt5 examples (
https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/examples/quitbattery_1.0.0.bb)
and it seems you should replace "inherit qt4e" with "require
recipes-qt/qt5/qt5.inc".

qt5.inc containing "inherit qmake5" but also many more stuff.
https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qt5.inc

Can you try with that ?

Regards,

Le lun. 27 mars 2017 à 15:30, Yuvarajesh Valleru <yv at iseg-hv.de> a écrit :

> Hi,
>
> I am building a linux image using yocto project. I have an apalis imx6
> module in which i already deployed an image with toradex console image
> (image from toradex). Now i have an own custom image meta-ball in which i
> have copied the recipes-qt from console-trdx-image. And i am trying to
> build my image in the same way like toradex image but could not build.
>
> one examle how my own recipe contains.
>
> SUMMARY = "ball include to get access to the devices"
> HOMEPAGE = "http://www.google.com"
> License = "CLOSED"
>
> inherit = qmake5
> inherit = systemd
> SYSTEMD_SERVICE_${PN} = "vrl.service vrl.socket"
>
> SRC_URI = " \git://.............
> "
> S = "${WORKDIR}/git"
>
> DEPENDS += " "
> PROVIDES += " "
>
> QMAKE_PROFILES = "${S}/vrl.pro
> "
> EXTRA_QMAKEVARS_PRE = "
> CONFIG+=SYSTEMD_SOCKET_ACTIVATION
> "
> do_install () {
> install -d ${D}${libdir}
> #use here cp instead of install because of symlinks
> cp -pr ${S}libvrl* ${D}${libdir}
>
> ..........................................................................................
>
> .......................................................................................
>
> previously this vrl.inc file contains inherit qt4e in place of qmake5
> now for updating to qt5 i have an error : install cannot stat
> '/home/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/vrl/1.0.-r0/git/vrl'
> : no such file or directory.
>
>
> Regards,
>
> yv
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170327/4462d8ac/attachment.html>


More information about the yocto mailing list