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. Building Qt for BeagleBone working Debian 9.5

Building Qt for BeagleBone working Debian 9.5

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
17 Posts 4 Posters 3.3k 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.
  • G Offline
    G Offline
    GC_Dev
    wrote on 9 May 2019, 05:33 last edited by GC_Dev 5 Sept 2019, 05:42
    #7

    jsulm,
    Its showing i Qt creater apps while configuring complier in kit section and when i select the my built compiler,its shown as invalid.
    i have one question that debian on device having compiler version:
    "arm-linux-gnueabihf-g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516"

    and my host machine having complier that i have downloaded from linaro site(gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf):

    "arm-linux-gnueabihf-gcc (Linaro GCC 5.5-2017.10) 5.5.0"

    if you see both compiler are different. is that matter here.?

    J 1 Reply Last reply 9 May 2019, 06:16
    0
    • G GC_Dev
      9 May 2019, 05:33

      jsulm,
      Its showing i Qt creater apps while configuring complier in kit section and when i select the my built compiler,its shown as invalid.
      i have one question that debian on device having compiler version:
      "arm-linux-gnueabihf-g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516"

      and my host machine having complier that i have downloaded from linaro site(gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf):

      "arm-linux-gnueabihf-gcc (Linaro GCC 5.5-2017.10) 5.5.0"

      if you see both compiler are different. is that matter here.?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 9 May 2019, 06:16 last edited by
      #8

      @GC_Dev You should use same compiler version.
      Can you show what exactly happens when you try to add the compiler in QtCreator?

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

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GC_Dev
        wrote on 9 May 2019, 12:50 last edited by GC_Dev 5 Sept 2019, 17:29
        #9

        Jsulm,
        I gussed that i have solved building problem by using the same compiler i.e. (gcc-linaro- 6.3.1-x86_64_arm-linux-gnueabihf_).
        its build successfully and created the executable file but now new error arrived.

        In QT created, When i run the program its start to deploying and showing this error:
        "
        17:44:31: Starting /home/debian/Helloworld_BBB ...
        qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
        This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

        Available platform plugins are: linuxfb, minimal, offscreen, vnc.
        "
        So what did i miss again?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          GC_Dev
          wrote on 9 May 2019, 13:42 last edited by
          #10

          jsulm,

          here is my configuration summaries:
          Configure summary:

          Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
          Building for: devices/linux-beagleboard-g++ (arm, CPU features: neon)
          Target compiler: gcc 6.3.1
          Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports release_tools stl
          Build options:
          Mode ................................... release; optimized tools
          Optimize release build for size ........ no
          Building shared libraries .............. yes
          Using C standard ....................... C11
          Using C++ standard ..................... C++14
          Using ccache ........................... no
          Using gold linker ...................... yes
          Using new DTAGS ........................ yes
          Using precompiled headers .............. yes
          Using LTCG ............................. no
          Target compiler supports:
          NEON ................................. yes
          Build parts ............................ libs
          Qt modules and options:
          Qt Concurrent .......................... yes
          Qt D-Bus ............................... yes
          Qt D-Bus directly linked to libdbus .... no
          Qt Gui ................................. yes
          Qt Network ............................. yes
          Qt Sql ................................. yes
          Qt Testlib ............................. yes
          Qt Widgets ............................. yes
          Qt Xml ................................. yes
          Support enabled for:
          Using pkg-config ....................... yes
          udev ................................... yes
          Using system zlib ...................... yes
          Qt Core:
          DoubleConversion ....................... yes
          Using system DoubleConversion ........ no
          GLib ................................... no
          iconv .................................. yes
          ICU .................................... no
          Tracing backend ........................ <none>
          Logging backends:
          journald ............................. no
          syslog ............................... no
          slog2 ................................ no
          Using system PCRE2 ..................... no
          Qt Network:
          getifaddrs() ........................... yes
          IPv6 ifname ............................ yes
          libproxy ............................... no
          Linux AF_NETLINK ....................... yes
          OpenSSL ................................ no
          Qt directly linked to OpenSSL ........ no
          OpenSSL 1.1 ............................ no
          DTLS ................................... no
          SCTP ................................... no
          Use system proxies ..................... yes
          Qt Gui:
          Accessibility .......................... yes
          FreeType ............................... yes
          Using system FreeType ................ no
          HarfBuzz ............................... yes
          Using system HarfBuzz ................ no
          Fontconfig ............................. no
          Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
          Using system libjpeg ............... yes
          PNG .................................. yes
          Using system libpng ................ yes
          EGL .................................... no
          OpenVG ................................. no
          OpenGL:
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ no
          OpenGL ES 3.0 ........................ no
          OpenGL ES 3.1 ........................ no
          OpenGL ES 3.2 ........................ no
          Vulkan ................................. no
          Session Management ..................... yes
          Features used by QPA backends:
          evdev .................................. yes
          libinput ............................... no
          INTEGRITY HID .......................... no
          mtdev .................................. no
          tslib .................................. no
          xkbcommon .............................. no
          X11 specific:
          XLib ................................. no
          XCB Xlib ............................. no
          EGL on X11 ........................... no
          QPA backends:
          DirectFB ............................... no
          EGLFS .................................. no
          LinuxFB ................................ yes
          VNC .................................... yes
          Mir client ............................. no
          Qt Sql:
          SQL item models ........................ yes
          Qt Widgets:
          GTK+ ................................... no
          Styles ................................. Fusion Windows
          Qt PrintSupport:
          CUPS ................................... no
          Qt Sql Drivers:
          DB2 (IBM) .............................. no
          InterBase .............................. no
          MySql .................................. no
          OCI (Oracle) ........................... no
          ODBC ................................... no
          PostgreSQL ............................. no
          SQLite2 ................................ no
          SQLite ................................. yes
          Using system provided SQLite ......... no
          TDS (Sybase) ........................... no
          Qt Testlib:
          Tester for item models ................. yes

          if you see above its showing EGLFS .................................. no so thats problem i guessed.
          So how to add that libraries and how can i make it yes in configuration.?

          J 1 Reply Last reply 10 May 2019, 04:47
          0
          • G GC_Dev
            9 May 2019, 13:42

            jsulm,

            here is my configuration summaries:
            Configure summary:

            Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
            Building for: devices/linux-beagleboard-g++ (arm, CPU features: neon)
            Target compiler: gcc 6.3.1
            Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports release_tools stl
            Build options:
            Mode ................................... release; optimized tools
            Optimize release build for size ........ no
            Building shared libraries .............. yes
            Using C standard ....................... C11
            Using C++ standard ..................... C++14
            Using ccache ........................... no
            Using gold linker ...................... yes
            Using new DTAGS ........................ yes
            Using precompiled headers .............. yes
            Using LTCG ............................. no
            Target compiler supports:
            NEON ................................. yes
            Build parts ............................ libs
            Qt modules and options:
            Qt Concurrent .......................... yes
            Qt D-Bus ............................... yes
            Qt D-Bus directly linked to libdbus .... no
            Qt Gui ................................. yes
            Qt Network ............................. yes
            Qt Sql ................................. yes
            Qt Testlib ............................. yes
            Qt Widgets ............................. yes
            Qt Xml ................................. yes
            Support enabled for:
            Using pkg-config ....................... yes
            udev ................................... yes
            Using system zlib ...................... yes
            Qt Core:
            DoubleConversion ....................... yes
            Using system DoubleConversion ........ no
            GLib ................................... no
            iconv .................................. yes
            ICU .................................... no
            Tracing backend ........................ <none>
            Logging backends:
            journald ............................. no
            syslog ............................... no
            slog2 ................................ no
            Using system PCRE2 ..................... no
            Qt Network:
            getifaddrs() ........................... yes
            IPv6 ifname ............................ yes
            libproxy ............................... no
            Linux AF_NETLINK ....................... yes
            OpenSSL ................................ no
            Qt directly linked to OpenSSL ........ no
            OpenSSL 1.1 ............................ no
            DTLS ................................... no
            SCTP ................................... no
            Use system proxies ..................... yes
            Qt Gui:
            Accessibility .......................... yes
            FreeType ............................... yes
            Using system FreeType ................ no
            HarfBuzz ............................... yes
            Using system HarfBuzz ................ no
            Fontconfig ............................. no
            Image formats:
            GIF .................................. yes
            ICO .................................. yes
            JPEG ................................. yes
            Using system libjpeg ............... yes
            PNG .................................. yes
            Using system libpng ................ yes
            EGL .................................... no
            OpenVG ................................. no
            OpenGL:
            Desktop OpenGL ....................... no
            OpenGL ES 2.0 ........................ no
            OpenGL ES 3.0 ........................ no
            OpenGL ES 3.1 ........................ no
            OpenGL ES 3.2 ........................ no
            Vulkan ................................. no
            Session Management ..................... yes
            Features used by QPA backends:
            evdev .................................. yes
            libinput ............................... no
            INTEGRITY HID .......................... no
            mtdev .................................. no
            tslib .................................. no
            xkbcommon .............................. no
            X11 specific:
            XLib ................................. no
            XCB Xlib ............................. no
            EGL on X11 ........................... no
            QPA backends:
            DirectFB ............................... no
            EGLFS .................................. no
            LinuxFB ................................ yes
            VNC .................................... yes
            Mir client ............................. no
            Qt Sql:
            SQL item models ........................ yes
            Qt Widgets:
            GTK+ ................................... no
            Styles ................................. Fusion Windows
            Qt PrintSupport:
            CUPS ................................... no
            Qt Sql Drivers:
            DB2 (IBM) .............................. no
            InterBase .............................. no
            MySql .................................. no
            OCI (Oracle) ........................... no
            ODBC ................................... no
            PostgreSQL ............................. no
            SQLite2 ................................ no
            SQLite ................................. yes
            Using system provided SQLite ......... no
            TDS (Sybase) ........................... no
            Qt Testlib:
            Tester for item models ................. yes

            if you see above its showing EGLFS .................................. no so thats problem i guessed.
            So how to add that libraries and how can i make it yes in configuration.?

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 10 May 2019, 04:47 last edited by
            #11

            @GC_Dev Do you want to use eglfs?
            If you do then add -v to your configure call and see why exactly eglfs is disabled.
            If you don't you can use one of the other platform plug-ins. For example: -platform linuxfb

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

            1 Reply Last reply
            0
            • G Offline
              G Offline
              GC_Dev
              wrote on 10 May 2019, 05:00 last edited by
              #12

              jsulm,
              I just want to run my application beaglebone so i dont mind with any pulgins.
              As i mention it showing error while deploying on beaglebone from QT creater apps:

              qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
              This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

              So How can i solve this..?

              J 1 Reply Last reply 10 May 2019, 05:35
              0
              • G GC_Dev
                10 May 2019, 05:00

                jsulm,
                I just want to run my application beaglebone so i dont mind with any pulgins.
                As i mention it showing error while deploying on beaglebone from QT creater apps:

                qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
                This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                So How can i solve this..?

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 10 May 2019, 05:35 last edited by jsulm 5 Oct 2019, 05:35
                #13

                @GC_Dev As I said try to use other platform plug-in, for example linuxfb if you're using framebuffer: add "-platform linuxfb" when calling your app.
                You should also know what is actually used on your device (framebuffer, X11, ...).

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

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  GC_Dev
                  wrote on 10 May 2019, 06:28 last edited by
                  #14

                  jsulm,
                  I am a little bit confuse Where should i add "-platform linuxfb"? is in QT creator or somewhere else?
                  As deploying from Qtcreater i don't find such an option there.
                  i don't know which one using either framebuffer or X11?
                  can you help me out?

                  J Pablo J. RoginaP 2 Replies Last reply 10 May 2019, 06:44
                  0
                  • G GC_Dev
                    10 May 2019, 06:28

                    jsulm,
                    I am a little bit confuse Where should i add "-platform linuxfb"? is in QT creator or somewhere else?
                    As deploying from Qtcreater i don't find such an option there.
                    i don't know which one using either framebuffer or X11?
                    can you help me out?

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 10 May 2019, 06:44 last edited by
                    #15

                    @GC_Dev said in Building Qt for BeagleBone working Debian 9.5:

                    Where should i add

                    As parameter to your application when you start it.
                    "i don't know which one using either framebuffer or X11?
                    can you help me out?" - no I can't. I have no idea what exactly you're using and what is running on that device. You should know or find out.

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

                    1 Reply Last reply
                    0
                    • G GC_Dev
                      10 May 2019, 06:28

                      jsulm,
                      I am a little bit confuse Where should i add "-platform linuxfb"? is in QT creator or somewhere else?
                      As deploying from Qtcreater i don't find such an option there.
                      i don't know which one using either framebuffer or X11?
                      can you help me out?

                      Pablo J. RoginaP Offline
                      Pablo J. RoginaP Offline
                      Pablo J. Rogina
                      wrote on 10 May 2019, 14:58 last edited by
                      #16

                      @GC_Dev said in Building Qt for BeagleBone working Debian 9.5:

                      i add "-platform linuxfb"? is in QT creator or somewhere else?

                      try running your app from command line:

                      /path/to/my/app -platform linuxfb
                      

                      Upvote the answer(s) that helped you solve the issue
                      Use "Topic Tools" button to mark your post as Solved
                      Add screenshots via postimage.org
                      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        comarius
                        wrote on 9 Aug 2019, 20:03 last edited by
                        #17

                        Hi,
                        kind of late but I solve it

                        https://comarius.blogspot.com/2019/08/qt-512-on-beaglebone-with-full-egl-no-x.html

                        1 Reply Last reply
                        1

                        • Login

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