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.8k 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 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
    • jsulmJ jsulm

      @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
      
      A Offline
      A Offline
      Asha
      wrote on last edited by
      #36

      @jsulm

      now at present I don't have my display,

      but while giving this

      @jsulm said in cross compiled qt for BBB:

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

      I am getting the output in my laptop,it just blinking for a second..

      If I connect my display, and then I execute as you told,then can I get the result in my display?

      jsulmJ 1 Reply Last reply
      0
      • A Asha

        @jsulm

        now at present I don't have my display,

        but while giving this

        @jsulm said in cross compiled qt for BBB:

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

        I am getting the output in my laptop,it just blinking for a second..

        If I connect my display, and then I execute as you told,then can I get the result in my display?

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

        @Asha said in cross compiled qt for BBB:

        If I connect my display, and then I execute as you told,then can I get the result in my display?

        If nothing else is wrong then yes

        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:

          If I connect my display, and then I execute as you told,then can I get the result in my display?

          If nothing else is wrong then yes

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

          @jsulm

          Hi,

          now i connected my device to the display ,and i followed as you said..
          but i am not getting the output in display screen,getting output in my laptop...

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            @jsulm

            Hi,

            now i connected my device to the display ,and i followed as you said..
            but i am not getting the output in display screen,getting output in my laptop...

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

            @Asha said in cross compiled qt for BBB:

            getting output in my laptop

            Did you redirect the output as @Pablo-J-Rogina suggested before?
            If so then do not redirect, just make sure you see graphical desktop on the display.

            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:

              getting output in my laptop

              Did you redirect the output as @Pablo-J-Rogina suggested before?
              If so then do not redirect, just make sure you see graphical desktop on the display.

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

              @jsulm said in cross compiled qt for BBB:

              Did you redirect the output as @Pablo-J-Rogina suggested before?

              i am not understand this one,what your trying to ask?

              i burned new image in my sdcard,and i put that sdcard into the BBB after that trying to execute this qt applications,

              while trying with

              ssh debian@192.168.7.2
              getting Qxcb error

              And trying with

              ssh -X debian@192.168.7.2

              getting this with displaying the output in laptop

              libEGL warning: DRI3: failed to query the version
              libEGL warning: DRI2: failed to authenticate
              QXcbConnection: XCB error: 1 (BadRequest), sequence: 405, resource id: 220, major code: 154 (Unknown), minor code: 1

              jsulmJ 1 Reply Last reply
              0
              • A Asha

                @jsulm said in cross compiled qt for BBB:

                Did you redirect the output as @Pablo-J-Rogina suggested before?

                i am not understand this one,what your trying to ask?

                i burned new image in my sdcard,and i put that sdcard into the BBB after that trying to execute this qt applications,

                while trying with

                ssh debian@192.168.7.2
                getting Qxcb error

                And trying with

                ssh -X debian@192.168.7.2

                getting this with displaying the output in laptop

                libEGL warning: DRI3: failed to query the version
                libEGL warning: DRI2: failed to authenticate
                QXcbConnection: XCB error: 1 (BadRequest), sequence: 405, resource id: 220, major code: 154 (Unknown), minor code: 1

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

                @Asha Can you connect a keyboard to your device and start your app directly on the device without SSH?

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

                A 2 Replies Last reply
                0
                • jsulmJ jsulm

                  @Asha Can you connect a keyboard to your device and start your app directly on the device without SSH?

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

                  @jsulm through keyboard I am able to display the output on my display screen...

                  but why not getting by the laptop(via ssh)?

                  how do I execute it by laptop?

                  Pablo J. RoginaP 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Asha Can you connect a keyboard to your device and start your app directly on the device without SSH?

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

                    @jsulm Thankyou so much Sir,for the help..
                    Thanks to everyone how guided me..

                    1 Reply Last reply
                    1
                    • A Asha

                      @jsulm through keyboard I am able to display the output on my display screen...

                      but why not getting by the laptop(via ssh)?

                      how do I execute it by laptop?

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

                      @Asha said in cross compiled qt for BBB:

                      but why not getting by the laptop(via ssh)?

                      Because you seem not to forward the X display through the SSH connection.

                      how do I execute it by laptop?

                      I've already told you, see one of my previous posts.
                      In addition, you may want to read more about X forwarding, there's plenty of articles, for instance here. I won't post anymore about this issue remote display.

                      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

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

                        @Asha said in cross compiled qt for BBB:

                        but why not getting by the laptop(via ssh)?

                        Because you seem not to forward the X display through the SSH connection.

                        how do I execute it by laptop?

                        I've already told you, see one of my previous posts.
                        In addition, you may want to read more about X forwarding, there's plenty of articles, for instance here. I won't post anymore about this issue remote display.

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

                        @Pablo-J-Rogina said in cross compiled qt for BBB:

                        I've already told you, see one of my previous posts

                        I told him to not to do so because he wants to see the application on display connected to the device, not on the host.

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

                        Pablo J. RoginaP 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Pablo-J-Rogina said in cross compiled qt for BBB:

                          I've already told you, see one of my previous posts

                          I told him to not to do so because he wants to see the application on display connected to the device, not on the host.

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

                          @jsulm see:

                          @Asha said

                          through keyboard I am able to display the output on my display screen...

                          So it seems he's finally able to run the Qt app from the device. But he still insists as:

                          but why not getting by the laptop(via ssh)?

                          so indeed he's driving us crazy as he doesn't know what his requirements are... and we're trying our best to help him. Anyway.

                          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

                            @jsulm see:

                            @Asha said

                            through keyboard I am able to display the output on my display screen...

                            So it seems he's finally able to run the Qt app from the device. But he still insists as:

                            but why not getting by the laptop(via ssh)?

                            so indeed he's driving us crazy as he doesn't know what his requirements are... and we're trying our best to help him. Anyway.

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

                            @Pablo-J-Rogina said in cross compiled qt for BBB:

                            he's driving us crazy

                            no sir,not like that..I am very new to this..so I have doubts..

                            I am not getting how to execute qt application via laptop,so I asked..

                            Thanyou so much for you help..

                            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