Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Where can I find a simple well explained step by step tutorial on cross compiling Qt5.1.1 full package for BeagleBone Black (BBB)?
Qt 6.11 is out! See what's new in the release blog

Where can I find a simple well explained step by step tutorial on cross compiling Qt5.1.1 full package for BeagleBone Black (BBB)?

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 4 Posters 5.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.
  • S Offline
    S Offline
    sunsina
    wrote on last edited by
    #1

    I have googled a lot to find a a good tutorial on how to cross compile Qt5.1.1 IDE (the full package) for BeagleBone Black on Ångström linux.

    Unfortunately many of the tutorials were either not well explained or complicated that did not suit beginners to understand it.

    I am wondering why there is no already precompiled Qt5.1.1 package available for download and install on BBB, so one could easily install it from Ångström opkg system?

    I have checked few of the RPi tutorials on How to compile Qt for RPi but I was unsuccessful on compiling for RPi, so how can I port it for BBB!?

    I have checked http://www.gpupowered.org/node/24 and tried the instruction for 5.1.1 (version) available on
    https://github.com/prabindh/qt-configs and applying patches on https://github.com/prabindh/qt-configs/tree/master/qt5_1_1_Sep13 and its sub directory linux-arm-gnueabi-ti-g++ but it does not call the linaro compiler instead of gcc.

    How can I fix the issue (I have already installed the ti-SDK that comes with cross compiler toolchain instead of linaro)?

    Which configuration file is going to be used when I run the following configure script (from http://www.gpupowered.org/node/24 [Step 1: Configure]) on qt-everywhere-opensource-src-5.1.1 entry folder?

    Or the one that I copied from Git qt.5.1.1 subdirectory to /qtbase/mkspec/linux-arm-gnueabi-ti-g++ (qmake.conf and qplatformmodefs.h).

    I am tired of trying different online tutorials, is there any plan for BBB to have a well explained beginners Wiki page on Qt , a tutorial on to deal with cross-compiling and compiling issues that one might encounter during compilation of Qt for BBB!

    Thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sk51178
      wrote on last edited by
      #2

      Hi,
      This is my understanding (and I may be wrong):

      QT 4.8.5 is released with required patches for embedded Linux. QT5.1.1 does not have the embedded patch.

      Here are the steps to compile QT on embedded:
      http://qt-project.org/wiki/Building_Qt_for_Embedded_Linux

      I am also interested to know if someone comes and contradicts me, as I would also like to migrate to QT5.1.1 for my BBB projects.

      Thanks,

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You are wrong indeed. In the Qt 4 series, there was the embedded version which provided QWS to run on embedded system using e.g. the frame buffer, DirectFB etc... In Qt 5 it has been replaced by QPA which is the low level abstraction layer but you still have the various backends to run on embedded systems.

        As for the original question, are you sure you are providing the right paths pointing to your cross-compiler ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sk51178
          wrote on last edited by
          #4

          Thanks SGaist. I was completely ignorant. I will also start switching my workspace to newer platform.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sunsina
            wrote on last edited by
            #5

            Hi,
            Thanks SGaist I think I wrote in wrong forum's section, and I do not know how can I move this topic to its proper section.
            Anyway I copied all the patched files (from tutorial in my first post) and ... to the BBB SD-Card and I tried to compile it there I got errors (I forgot the error context) so I drop the complete compilation of the QT5.1.1 or Qt5.2 on Ångstörm 2013 on BBB.

            Now I would be happy even I could find a a well explained tutorial on
            how to setup BBB Ångström 2013 environment ready for cross compiling Qt Applications with remote debugging capabilities.
            I mean fixing the path and installing all required shares libraries for Qt5.1.1 or Qt5.2 in their respective directories on BBB.
            (I would rather to have Graphical Libraries also installed on BBB)

            Then a short introduction on setting the Qt5.1.1 or Qt5.2 cross-compilation environment on my PC/MAC machine will suffice.

            Thanks in advance

            1 Reply Last reply
            0
            • P Offline
              P Offline
              prabindh
              wrote on last edited by
              #6

              Please post additional information about the issues you are facing, specifically as described in - http://gpupowered.org/node/27

              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