Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. inherit qt5.8 to custom image

inherit qt5.8 to custom image

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yuvi
    wrote on last edited by
    #1

    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

    jsulmJ 1 Reply Last reply
    0
    • Y yuvi

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Y Offline
        Y Offline
        yuvi
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved