inherit qt5.8 to custom image



  • Hi,

    I would like to build my custom linux image with qt 5.8. I tried by adding the recipes-qt from (meta-toradex-demos) and inherited qmake5 in my own recipes. but i have an error with do_install.

    Could you suggest me how to add qt 5.8 in to my own linux image with an example.

    Thank you

    yuvi


  • Moderators

    @yuvi Sorry, but you really should explain what you are doing!
    How are you building your Linux image? Using what?



  • @jsulm 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.