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. Help with meta-qt5 on embedded linux IMX.6 Quad Platform.
Forum Updated to NodeBB v4.3 + New Features

Help with meta-qt5 on embedded linux IMX.6 Quad Platform.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 2 Posters 702 Views
  • 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.
  • M Offline
    M Offline
    MrShawn
    wrote on 26 Nov 2019, 13:10 last edited by
    #1

    Hi guys,

    I bought a Versalogic Tetra board and was able to build an embedded linux yocto image from their directions. I added in meta-qt5 to the yocto build and I was having some questions.

    In the past I have been able to setup cross compiling using the Qt Creator IDE to build, deploy and run the programs onto a Raspberry Pi 3. This took some time but ultimately I would like to achieve the same thing for this board here.

    I am not overly familiar with yocto and how things work on that end - but one thing I am running into is I am not sure what version of Qt is brought onto the board using meta-qt5. Depending on the time of the post I am getting different answers as to the version. Is there anyway I can tell for myself via the terminal what my version of qt is?

    I need to know the version so I can use that version to cross compile with the toolchain compiler for this board (which I am building now).

    Also if anyone has done this before I would also appreciate any links to good articles referring to stuff like cross compiling or the yocto project.

    So far the board is booting up into an x11 desktop with some demo qt5 apps. As I progress I will likely have more questions.

    Thank you very much!
    -Shawn

    J 1 Reply Last reply 26 Nov 2019, 13:15
    0
    • M MrShawn
      26 Nov 2019, 13:10

      Hi guys,

      I bought a Versalogic Tetra board and was able to build an embedded linux yocto image from their directions. I added in meta-qt5 to the yocto build and I was having some questions.

      In the past I have been able to setup cross compiling using the Qt Creator IDE to build, deploy and run the programs onto a Raspberry Pi 3. This took some time but ultimately I would like to achieve the same thing for this board here.

      I am not overly familiar with yocto and how things work on that end - but one thing I am running into is I am not sure what version of Qt is brought onto the board using meta-qt5. Depending on the time of the post I am getting different answers as to the version. Is there anyway I can tell for myself via the terminal what my version of qt is?

      I need to know the version so I can use that version to cross compile with the toolchain compiler for this board (which I am building now).

      Also if anyone has done this before I would also appreciate any links to good articles referring to stuff like cross compiling or the yocto project.

      So far the board is booting up into an x11 desktop with some demo qt5 apps. As I progress I will likely have more questions.

      Thank you very much!
      -Shawn

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 26 Nov 2019, 13:15 last edited by
      #2

      @MrShawn said in Help with meta-qt5 on embedded linux IMX.6 Quad Platform.:

      Is there anyway I can tell for myself via the terminal what my version of qt is?

      qmake -v

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MrShawn
        wrote on 26 Nov 2019, 13:30 last edited by MrShawn
        #3

        Hey @jsulm - thanks for the quick response. I did try the qmake -v command. It does not detect it. I don't think the meta-qt5 delivers NOT* the full build systems but rather the dependencies (.so) files.

        I went snooping in the filesystem just now and see that in /user/lib directory I have files like these:

        libQt5Core.so.5
        libQt5Core.so.5.6
        libQt5Core.so.5.6.2	
        

        This leads me to believe that I have qt 5.6.2 - Is this a good assumption to make?

        Do you know a way I can get a newer version of Qt with meta-qt5? 5.6.2 is pretty old!

        Thanks,
        Shawn

        J 1 Reply Last reply 26 Nov 2019, 13:35
        0
        • M MrShawn
          26 Nov 2019, 13:30

          Hey @jsulm - thanks for the quick response. I did try the qmake -v command. It does not detect it. I don't think the meta-qt5 delivers NOT* the full build systems but rather the dependencies (.so) files.

          I went snooping in the filesystem just now and see that in /user/lib directory I have files like these:

          libQt5Core.so.5
          libQt5Core.so.5.6
          libQt5Core.so.5.6.2	
          

          This leads me to believe that I have qt 5.6.2 - Is this a good assumption to make?

          Do you know a way I can get a newer version of Qt with meta-qt5? 5.6.2 is pretty old!

          Thanks,
          Shawn

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 26 Nov 2019, 13:35 last edited by
          #4

          @MrShawn said in Help with meta-qt5 on embedded linux IMX.6 Quad Platform.:

          Is this a good assumption to make?

          Usually it is.
          "Do you know a way I can get a newer version of Qt with meta-qt5?" - can't you define the version you want to build in the recipe?

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MrShawn
            wrote on 26 Nov 2019, 14:52 last edited by
            #5

            @jsulm , you are probably right about that. I spent some time trying to figure out how to do this. I dont see anywhere in the recipe which version is defined. I wound up cloning the HEAD branch from github.com/meta-qt5/meta-qt5 and replaced the whole directory in my source directory for my build but now when I try to build I get errors from python and webkit recipes so not sure.

            I also tried to download the source for 5.6 and you cant even get it with the online installer!! Eek - I'd really like to bump up my qt version to at least 5.12.

            I'll keep playing around but not sure if you have any other tips. Any official documentation on meta-qt5 comes up with qt for device creation which is behind a commercial pay well.

            -Shawn

            J 1 Reply Last reply 27 Nov 2019, 05:43
            0
            • M MrShawn
              26 Nov 2019, 14:52

              @jsulm , you are probably right about that. I spent some time trying to figure out how to do this. I dont see anywhere in the recipe which version is defined. I wound up cloning the HEAD branch from github.com/meta-qt5/meta-qt5 and replaced the whole directory in my source directory for my build but now when I try to build I get errors from python and webkit recipes so not sure.

              I also tried to download the source for 5.6 and you cant even get it with the online installer!! Eek - I'd really like to bump up my qt version to at least 5.12.

              I'll keep playing around but not sure if you have any other tips. Any official documentation on meta-qt5 comes up with qt for device creation which is behind a commercial pay well.

              -Shawn

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 27 Nov 2019, 05:43 last edited by jsulm
              #6

              @MrShawn said in Help with meta-qt5 on embedded linux IMX.6 Quad Platform.:

              I dont see anywhere in the recipe which version is defined

              It is usually simply the commit ID of the version you want to use.
              See https://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#new-recipe-fetching-code

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

              1 Reply Last reply
              0
              • M Offline
                M Offline
                MrShawn
                wrote on 2 Dec 2019, 13:24 last edited by
                #7

                @jsulm thanks for the help/pointers.

                Went out of town for thanksgiving. I tried building before I left by modifying a file.

                I am using the krogoth meta-qt5 but I am struggling to find where I can set that. I changed the qt5-git.inc file to 5.12 but had issues with qtenginio. Reading closing it says qt_modules so it must be some place else.

                Not sure where I can put the hash like you suggested for the commit on the newest (or newer) of qt 5.

                1 Reply Last reply
                0

                1/7

                26 Nov 2019, 13:10

                • Login

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