Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cross compiled qt for BBB
Forum Updated to NodeBB v4.3 + New Features

cross compiled qt for BBB

Scheduled Pinned Locked Moved Unsolved General and Desktop
47 Posts 4 Posters 9.7k Views 2 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.
  • A Asha

    @jsulm

    I need to run this on my host machine right...
    I am running this command in my beagle user..
    I got the output

    945 tty1 00:00:00 Xwayland
    1064 tty2 00:00:08 Xorg

    while running that command in beagleboneboard(via ssh) not getting anything..

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

    @Asha said in cross compiled qt for BBB:

    while running that command in beagleboneboard(via ssh) not getting anything..

    when there is no XServer running. Just to be sure: you're running this command when the graphical desktop is shown?
    You need to find out what is used on your device. Could be directfb for example.

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

    A 1 Reply Last reply
    0
    • jsulmJ jsulm

      @Asha said in cross compiled qt for BBB:

      while running that command in beagleboneboard(via ssh) not getting anything..

      when there is no XServer running. Just to be sure: you're running this command when the graphical desktop is shown?
      You need to find out what is used on your device. Could be directfb for example.

      A Offline
      A Offline
      Asha
      wrote on last edited by
      #17

      @jsulm said in cross compiled qt for BBB:

      you're running this command when the graphical desktop is shown?

      no,
      I run that command without the connecting display..
      ps -e | grep X

      this command displays all process status which are running right..

      one more thing I want to clear,

      "I put sdcard in my board,and executing the qt application without connecting the display, then getting the same error Qxcb"

      but

      "without sdcard, I am executing the qt application ,then its asking

      Qvnc server created on port 5900"

      when I execute the VNC software in my host machine, I am able to see the output..

      jsulmJ 1 Reply Last reply
      0
      • A Asha

        @jsulm said in cross compiled qt for BBB:

        you're running this command when the graphical desktop is shown?

        no,
        I run that command without the connecting display..
        ps -e | grep X

        this command displays all process status which are running right..

        one more thing I want to clear,

        "I put sdcard in my board,and executing the qt application without connecting the display, then getting the same error Qxcb"

        but

        "without sdcard, I am executing the qt application ,then its asking

        Qvnc server created on port 5900"

        when I execute the VNC software in my host machine, I am able to see the output..

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

        @Asha said in cross compiled qt for BBB:

        no,

        Then make sure your display is connected and you can see graphical desktop and then run the command...

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

        A 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Asha said in cross compiled qt for BBB:

          no,

          Then make sure your display is connected and you can see graphical desktop and then run the command...

          A Offline
          A Offline
          Asha
          wrote on last edited by
          #19

          @jsulm

          I connected my board with display,

          And,I am able to see the graphical desktop on my display,

          while giving this command

          ps -e | grep X

          I got the result:

          1199 tty7 00:00:02 Xorg

          so what it means?

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            @jsulm

            I connected my board with display,

            And,I am able to see the graphical desktop on my display,

            while giving this command

            ps -e | grep X

            I got the result:

            1199 tty7 00:00:02 Xorg

            so what it means?

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

            @Asha said in cross compiled qt for BBB:

            so what it means?

            So, now X server is running. But your app doesn't start, right?
            You get "Qxcb connection:could not connect to the display"?
            Do you start your app as root or normal user?

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

            Pablo J. RoginaP A 2 Replies Last reply
            0
            • jsulmJ jsulm

              @Asha said in cross compiled qt for BBB:

              so what it means?

              So, now X server is running. But your app doesn't start, right?
              You get "Qxcb connection:could not connect to the display"?
              Do you start your app as root or normal user?

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #21

              @Asha in addition to @jsulm question,

              Do you start your app as root or normal user?

              How are you starting your application:
              Do you have a physical keyboard attached to the board?
              Or do you connect to the board from PC with a SSH session?

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

                @Asha said in cross compiled qt for BBB:

                so what it means?

                So, now X server is running. But your app doesn't start, right?
                You get "Qxcb connection:could not connect to the display"?
                Do you start your app as root or normal user?

                A Offline
                A Offline
                Asha
                wrote on last edited by
                #22

                @jsulm said in cross compiled qt for BBB:

                You get "Qxcb connection:could not connect to the display"?

                yes

                Do you start your app as a root

                this means ,first i need to do

                ssh debian@192.168.7.2
                after this sudo su

                root@beaglebone:

                now I need to run the application right?

                but what about that normal user?
                I need to run it on my Desktop machine?
                without ssh?

                jsulmJ Pablo J. RoginaP 2 Replies Last reply
                0
                • A Asha

                  @jsulm said in cross compiled qt for BBB:

                  You get "Qxcb connection:could not connect to the display"?

                  yes

                  Do you start your app as a root

                  this means ,first i need to do

                  ssh debian@192.168.7.2
                  after this sudo su

                  root@beaglebone:

                  now I need to run the application right?

                  but what about that normal user?
                  I need to run it on my Desktop machine?
                  without ssh?

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

                  @Asha said in cross compiled qt for BBB:

                  after this sudo su

                  NO! You should not start it as root.

                  Can you connect a keyboard to your device and start directly there without SSH.

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

                  1 Reply Last reply
                  0
                  • A Asha

                    @jsulm said in cross compiled qt for BBB:

                    You get "Qxcb connection:could not connect to the display"?

                    yes

                    Do you start your app as a root

                    this means ,first i need to do

                    ssh debian@192.168.7.2
                    after this sudo su

                    root@beaglebone:

                    now I need to run the application right?

                    but what about that normal user?
                    I need to run it on my Desktop machine?
                    without ssh?

                    Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on last edited by
                    #24

                    @Asha said in cross compiled qt for BBB:

                    ssh debian@192.168.7.2

                    Ok, after millions of posts we finally reach the point where you stated how you're starting the application in the board...

                    It looks like you're NOT forwarding the X display. Please try connecting to the board this way:

                    ssh -X debian@192.168.7.2
                    

                    and then proceed as you've been doing to start the Qt app

                    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

                    A 1 Reply Last reply
                    0
                    • Pablo J. RoginaP Pablo J. Rogina

                      @Asha said in cross compiled qt for BBB:

                      ssh debian@192.168.7.2

                      Ok, after millions of posts we finally reach the point where you stated how you're starting the application in the board...

                      It looks like you're NOT forwarding the X display. Please try connecting to the board this way:

                      ssh -X debian@192.168.7.2
                      

                      and then proceed as you've been doing to start the Qt app

                      A Offline
                      A Offline
                      Asha
                      wrote on last edited by
                      #25

                      @Pablo-J-Rogina

                      while connecting as you said above ,

                      getting the result

                      s
                      libEGL warning: DRI3: failed to query the version
                      libEGL warning: DRI2: failed to authenticate
                      ./animatedtiles: relocation error: ./animatedtiles: symbol _ZN18QRandomGenerator646globalEv, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

                      jsulmJ 1 Reply Last reply
                      0
                      • A Asha

                        @Pablo-J-Rogina

                        while connecting as you said above ,

                        getting the result

                        s
                        libEGL warning: DRI3: failed to query the version
                        libEGL warning: DRI2: failed to authenticate
                        ./animatedtiles: relocation error: ./animatedtiles: symbol _ZN18QRandomGenerator646globalEv, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

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

                        @Asha Deploy your app correctly (include your cross compiled Qt libraries). Looks like you have different Qt version on your device than the one you cross compiled.

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

                        A 1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          @Asha Deploy your app correctly (include your cross compiled Qt libraries). Looks like you have different Qt version on your device than the one you cross compiled.

                          A Offline
                          A Offline
                          Asha
                          wrote on last edited by
                          #27

                          @jsulm

                          I have those libraries in usr lib directory

                          root@beaglebone:find / -name libGLESv2* -type f
                          /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
                          root@beaglebone: find / -name libEGL* -type f
                          /usr/lib/arm-linux-gnueabihf/libEGL_mesa.so.0.0.0
                          /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0

                          @jsulm said in cross compiled qt for BBB:

                          Looks like you have different Qt version on your device than the one you cross compiled.

                          how do I found,which version qt is running on my device?

                          jsulmJ 1 Reply Last reply
                          0
                          • A Asha

                            @jsulm

                            I have those libraries in usr lib directory

                            root@beaglebone:find / -name libGLESv2* -type f
                            /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
                            root@beaglebone: find / -name libEGL* -type f
                            /usr/lib/arm-linux-gnueabihf/libEGL_mesa.so.0.0.0
                            /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0

                            @jsulm said in cross compiled qt for BBB:

                            Looks like you have different Qt version on your device than the one you cross compiled.

                            how do I found,which version qt is running on my device?

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

                            @Asha Do

                            ldd YOUR_EXECUTABLE
                            

                            on your device and see which Qt libs linker finds.

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

                            A 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Asha Do

                              ldd YOUR_EXECUTABLE
                              

                              on your device and see which Qt libs linker finds.

                              A Offline
                              A Offline
                              Asha
                              wrote on last edited by
                              #29

                              @jsulm

                              this is the result:

                              debian@beaglebone:~/Qt5/examples/widgets/animation/animatedtiles$ ldd ./animatedtiles
                              linux-vdso.so.1 (0xbeffe000)
                              libQt5Widgets.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 (0xb6b07000)
                              libQt5Gui.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5 (0xb67dd000)
                              libQt5Core.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 (0xb6469000)
                              libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6445000)
                              librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb642f000)
                              libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb641c000)
                              libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6310000)
                              libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6298000)
                              libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb626f000)
                              libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6181000)
                              libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0xb6163000)
                              /lib/ld-linux-armhf.so.3 (0xb6f44000)
                              libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xb60e7000)
                              libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb60c5000)
                              libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0xb6095000)
                              libicui18n.so.57 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.57 (0xb5ee8000)
                              libicuuc.so.57 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.57 (0xb5dbf000)
                              libpcre16.so.3 => /usr/lib/arm-linux-gnueabihf/libpcre16.so.3 (0xb5d67000)
                              libdouble-conversion.so.1 => /usr/lib/arm-linux-gnueabihf/libdouble-conversion.so.1 (0xb5d49000)
                              libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb5c6e000)
                              libGLdispatch.so.0 => /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xb5bf0000)
                              libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb5b77000)
                              libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xb5b4c000)
                              libicudata.so.57 => /usr/lib/arm-linux-gnueabihf/libicudata.so.57 (0xb42bf000)
                              libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb4260000)

                              In this libEGL library missing ,how do I solve this ?

                              jsulmJ 1 Reply Last reply
                              0
                              • A Asha

                                @jsulm

                                this is the result:

                                debian@beaglebone:~/Qt5/examples/widgets/animation/animatedtiles$ ldd ./animatedtiles
                                linux-vdso.so.1 (0xbeffe000)
                                libQt5Widgets.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 (0xb6b07000)
                                libQt5Gui.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5 (0xb67dd000)
                                libQt5Core.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 (0xb6469000)
                                libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6445000)
                                librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb642f000)
                                libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb641c000)
                                libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6310000)
                                libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6298000)
                                libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb626f000)
                                libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6181000)
                                libGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 (0xb6163000)
                                /lib/ld-linux-armhf.so.3 (0xb6f44000)
                                libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xb60e7000)
                                libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb60c5000)
                                libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0xb6095000)
                                libicui18n.so.57 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.57 (0xb5ee8000)
                                libicuuc.so.57 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.57 (0xb5dbf000)
                                libpcre16.so.3 => /usr/lib/arm-linux-gnueabihf/libpcre16.so.3 (0xb5d67000)
                                libdouble-conversion.so.1 => /usr/lib/arm-linux-gnueabihf/libdouble-conversion.so.1 (0xb5d49000)
                                libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb5c6e000)
                                libGLdispatch.so.0 => /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xb5bf0000)
                                libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb5b77000)
                                libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xb5b4c000)
                                libicudata.so.57 => /usr/lib/arm-linux-gnueabihf/libicudata.so.57 (0xb42bf000)
                                libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb4260000)

                                In this libEGL library missing ,how do I solve this ?

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

                                @Asha Your current problem is not libEGL.
                                The problem is here: ./animatedtiles: relocation error: ./animatedtiles: symbol _ZN18QRandomGenerator646globalEv, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

                                Are these Qt libs the libs you cross compiled and exact same version you're using on your host to cross compile your app?

                                libQt5Widgets.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 (0xb6b07000)
                                libQt5Gui.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5 (0xb67dd000)
                                libQt5Core.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 (0xb6469000)
                                

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

                                A 1 Reply Last reply
                                1
                                • jsulmJ jsulm

                                  @Asha Your current problem is not libEGL.
                                  The problem is here: ./animatedtiles: relocation error: ./animatedtiles: symbol _ZN18QRandomGenerator646globalEv, version Qt_5 not defined in file libQt5Core.so.5 with link time reference

                                  Are these Qt libs the libs you cross compiled and exact same version you're using on your host to cross compile your app?

                                  libQt5Widgets.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5 (0xb6b07000)
                                  libQt5Gui.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5 (0xb67dd000)
                                  libQt5Core.so.5 => /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 (0xb6469000)
                                  
                                  A Offline
                                  A Offline
                                  Asha
                                  wrote on last edited by
                                  #31

                                  @jsulm

                                  my configure command is exactly as shown in below ,please go through this

                                  ./configure -platform linux-g++ release -device linux-beagleboard-g++ -sysroot /home/beagle/BBB/sysroot -prefix /home/debian/Qt5 -hostprefix ~/Qt5 -device option
                                  CROSS_COMPILE = /home/beagle/BBB/gcc-linaro......gnuabihf- -nomake tests -nomake examples -no-opengl -opensource -confirm-license -reduce-exports -make libs -no-egl -no-eglfs -qt-zlib -qt-libpng -no-use-gold-linker-linuxfb -qt-libjpeg -no-opengl -no-cups -no-glib -no-iconv -nomake examples -nomake tools -nomake tests -no-pkg-config -skip qtdeclarative -skip qtlocation -skip qtpurchasing -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwebglplugin -skip qtandroisextras -skip qtgamepad -skip qtmacextras -skip qtwinextras -skip qtsensors -skip qtconnectivity -recheck-all -v

                                  any mistakes in this configuration then please let me know..(if any mistakes then what configuration I need to give ,for my X server, beagleboneboard,just i want to run a simple qt application in my board and display the output in my display screen)...

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • A Asha

                                    @jsulm

                                    my configure command is exactly as shown in below ,please go through this

                                    ./configure -platform linux-g++ release -device linux-beagleboard-g++ -sysroot /home/beagle/BBB/sysroot -prefix /home/debian/Qt5 -hostprefix ~/Qt5 -device option
                                    CROSS_COMPILE = /home/beagle/BBB/gcc-linaro......gnuabihf- -nomake tests -nomake examples -no-opengl -opensource -confirm-license -reduce-exports -make libs -no-egl -no-eglfs -qt-zlib -qt-libpng -no-use-gold-linker-linuxfb -qt-libjpeg -no-opengl -no-cups -no-glib -no-iconv -nomake examples -nomake tools -nomake tests -no-pkg-config -skip qtdeclarative -skip qtlocation -skip qtpurchasing -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwebglplugin -skip qtandroisextras -skip qtgamepad -skip qtmacextras -skip qtwinextras -skip qtsensors -skip qtconnectivity -recheck-all -v

                                    any mistakes in this configuration then please let me know..(if any mistakes then what configuration I need to give ,for my X server, beagleboneboard,just i want to run a simple qt application in my board and display the output in my display screen)...

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

                                    @Asha You did not answer my question.
                                    Where did you put your cross compiled Qt on the device?

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

                                    A 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @Asha You did not answer my question.
                                      Where did you put your cross compiled Qt on the device?

                                      A Offline
                                      A Offline
                                      Asha
                                      wrote on last edited by
                                      #33

                                      @jsulm

                                      I copied my cross compiled qt in my board via

                                      scp Qt5 debian@192.168.7.2:Qt5

                                      means directly in my device only,not in any directory(where i need to copy that one)..

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

                                        So you did not copy the libraries at the exact same place on your device ?

                                        Your system installed Qt is picked before the one you copied.

                                        So one solution is to call: LD_LIBRARY_PATH=/path/to/your/cross-compiled_qt/lib ./YOUR_EXECUTABLE_NAME.

                                        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
                                        1
                                        • A Asha

                                          @jsulm

                                          I copied my cross compiled qt in my board via

                                          scp Qt5 debian@192.168.7.2:Qt5

                                          means directly in my device only,not in any directory(where i need to copy that one)..

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

                                          @Asha said in cross compiled qt for BBB:

                                          means directly in my device only

                                          Your app definitely uses wrong Qt libs.
                                          You have to copy the Qt libs into same directory you specified in -prefix. In your case /home/debian/Qt5.
                                          If this is the case then try following to start your app on device:

                                          cd DIR_WHERE_YOUR_APP_IS
                                          export LD_LIBRARY_PATH=/home/debian/Qt5
                                          ./YOUR_APP
                                          

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

                                          A 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