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. How to copy cross-compiled Qt binaries from one computer to another

How to copy cross-compiled Qt binaries from one computer to another

Scheduled Pinned Locked Moved Solved Mobile and Embedded
37 Posts 4 Posters 6.9k 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.
  • K Ketank16
    20 Sept 2019, 08:21

    @asha Easiest way is make a file with that name on your computer and copy the contents from git file to your local file. Run sudo chmod a+rx Sysroot-relativelinks.py to make it executable and you're good to go.

    A Offline
    A Offline
    Asha
    wrote on 23 Sept 2019, 10:03 last edited by
    #19
    This post is deleted!
    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asha
      wrote on 23 Sept 2019, 11:15 last edited by
      #20
      This post is deleted!
      1 Reply Last reply
      0
      • K Ketank16
        20 Sept 2019, 08:21

        @asha Easiest way is make a file with that name on your computer and copy the contents from git file to your local file. Run sudo chmod a+rx Sysroot-relativelinks.py to make it executable and you're good to go.

        A Offline
        A Offline
        Asha
        wrote on 23 Sept 2019, 12:05 last edited by
        #21

        @Ketank16

        Hi,

        I followed the same as you said,when I am trying to run

        ./Sysroot-relativelinks.py sysroot

        getting Output:

        /usr/bin/env: 'python': No such file or directory

        while getting this can I processed next?

        P 1 Reply Last reply 23 Sept 2019, 12:08
        0
        • A Asha
          23 Sept 2019, 12:05

          @Ketank16

          Hi,

          I followed the same as you said,when I am trying to run

          ./Sysroot-relativelinks.py sysroot

          getting Output:

          /usr/bin/env: 'python': No such file or directory

          while getting this can I processed next?

          P Offline
          P Offline
          Pablo J. Rogina
          wrote on 23 Sept 2019, 12:08 last edited by
          #22

          @Asha said in How to copy cross-compiled Qt binaries from one computer to another:

          while getting this can I processed next?

          No. Install python in your host PC and repeat the step. Only when it succeeds you can go on.

          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 23 Sept 2019, 12:48
          0
          • P Pablo J. Rogina
            23 Sept 2019, 12:08

            @Asha said in How to copy cross-compiled Qt binaries from one computer to another:

            while getting this can I processed next?

            No. Install python in your host PC and repeat the step. Only when it succeeds you can go on.

            A Offline
            A Offline
            Asha
            wrote on 23 Sept 2019, 12:48 last edited by
            #23

            @Pablo-J-Rogina

            Thankyou for the replay,

            I installed python via

            sudo apt-get install python3

            when I am given the command like

            python3

            getting result Python 3.6.8

            but after this,, executing the ./sysroot-relativelinks.py sysroot but getting the same result, No such file or directory....

            K 1 Reply Last reply 23 Sept 2019, 15:35
            0
            • A Offline
              A Offline
              Asha
              wrote on 23 Sept 2019, 13:24 last edited by
              #24

              Hi,

              I seen where python3 is installed with the following command

              which python3

              the output is
              /usr/bin/python3

              so in sysroot-relativelinks.py file I edited the first line

              #!/usr/bin/env python to #!/usr/bin/python3

              After this again I executed the sysroot-relativelinks.py

              now it is executed...what I did is it correct?...Thankyou...

              1 Reply Last reply
              0
              • A Asha
                23 Sept 2019, 12:48

                @Pablo-J-Rogina

                Thankyou for the replay,

                I installed python via

                sudo apt-get install python3

                when I am given the command like

                python3

                getting result Python 3.6.8

                but after this,, executing the ./sysroot-relativelinks.py sysroot but getting the same result, No such file or directory....

                K Offline
                K Offline
                Ketank16
                wrote on 23 Sept 2019, 15:35 last edited by Ketank16
                #25

                @Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute sudo apt install python.
                Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself.

                A 5 Replies Last reply 24 Sept 2019, 05:00
                0
                • K Ketank16
                  23 Sept 2019, 15:35

                  @Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute sudo apt install python.
                  Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself.

                  A Offline
                  A Offline
                  Asha
                  wrote on 24 Sept 2019, 05:00 last edited by
                  #26

                  @Ketank16

                  Hi,

                  While configuring I am getting this error,please go through this, here is the attachement

                  conf.png

                  How to proceed next..

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Asha
                    wrote on 24 Sept 2019, 05:30 last edited by
                    #27

                    Hi,

                    Any suggestions...please

                    1 Reply Last reply
                    0
                    • K Ketank16
                      23 Sept 2019, 15:35

                      @Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute sudo apt install python.
                      Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself.

                      A Offline
                      A Offline
                      Asha
                      wrote on 24 Sept 2019, 06:39 last edited by
                      #28

                      @Ketank16

                      Hi,

                      Please guide me,what mistake I am doing?...

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Asha
                        wrote on 24 Sept 2019, 07:19 last edited by
                        #29

                        I gone through some websites,
                        about this error

                        You dont seem to have make or gmake in your path.

                        I export MAKE=/usr/bin/make

                        after this tried for configuration,getting

                        qmake.png

                        guys,please suggest me ho w to proceed next...thankyou

                        jsulmJ 1 Reply Last reply 25 Sept 2019, 05:54
                        0
                        • A Asha
                          24 Sept 2019, 07:19

                          I gone through some websites,
                          about this error

                          You dont seem to have make or gmake in your path.

                          I export MAKE=/usr/bin/make

                          after this tried for configuration,getting

                          qmake.png

                          guys,please suggest me ho w to proceed next...thankyou

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 25 Sept 2019, 05:54 last edited by
                          #30

                          @Asha Did you install make?

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

                          A 1 Reply Last reply 25 Sept 2019, 06:30
                          0
                          • jsulmJ jsulm
                            25 Sept 2019, 05:54

                            @Asha Did you install make?

                            A Offline
                            A Offline
                            Asha
                            wrote on 25 Sept 2019, 06:30 last edited by
                            #31

                            @jsulm

                            How to install this one..

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Asha
                              wrote on 25 Sept 2019, 06:47 last edited by
                              #32

                              Hi,

                              Some suggested me ,to install build-essential package,so I installed..

                              After that tried configure,The output is

                              exec.png ...

                              So while getting this Exec format error,I gone through some of websites, installed

                              sudo apt-get install binftm-support qemu qemu-user-static

                              After this tried configure once again,The result is :

                              con2.png

                              so now getting,

                              /lib/ld-linux-armhf.so.3: No such file or directory...whats going wrong..how do I solve this..

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                Asha
                                wrote on 25 Sept 2019, 07:56 last edited by
                                #33

                                Hi,

                                I found the ld-linux-armhf.so.3 file in the below folder

                                /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3

                                here is the attachement

                                lib.png

                                How to proceed next..please suggest me..

                                1 Reply Last reply
                                0
                                • K Ketank16
                                  23 Sept 2019, 15:35

                                  @Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute sudo apt install python.
                                  Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself.

                                  A Offline
                                  A Offline
                                  Asha
                                  wrote on 30 Sept 2019, 07:22 last edited by
                                  #34
                                  This post is deleted!
                                  jsulmJ 1 Reply Last reply 30 Sept 2019, 07:27
                                  0
                                  • A Asha
                                    30 Sept 2019, 07:22

                                    This post is deleted!

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on 30 Sept 2019, 07:27 last edited by
                                    #35

                                    @Asha

                                    man bzip2
                                    man tar
                                    

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

                                    1 Reply Last reply
                                    0
                                    • K Ketank16
                                      23 Sept 2019, 15:35

                                      @Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute sudo apt install python.
                                      Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself.

                                      A Offline
                                      A Offline
                                      Asha
                                      wrote on 30 Sept 2019, 09:59 last edited by
                                      #36

                                      @Ketank16

                                      Hi..

                                      I cross compiled the qt..(I followed you document)..

                                      Here is the kit configuration

                                      bbbkit.png

                                      Here is the qtversion selection
                                      qtversion (2).png

                                      Here is the compiler selection

                                      qtcmp.png

                                      Here is the gdb selection

                                      qtgdb.png

                                      After this all setting, I am running a simple application..but getting the error

                                      error.png

                                      Any Suggestions ,how to solve this error..

                                      Thankyou.

                                      1 Reply Last reply
                                      0
                                      • K Ketank16
                                        23 Sept 2019, 15:35

                                        @Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute sudo apt install python.
                                        Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself.

                                        A Offline
                                        A Offline
                                        Asha
                                        wrote on 15 Oct 2019, 12:51 last edited by
                                        #37

                                        @Ketank16

                                        Hi,

                                        please show me your qmake.conf file contents,

                                        And, which platform plugin is running on your beagleboneboard device(asking,just for information purpose)....

                                        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