Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Setting up cross compiler (rasp Pi)
Forum Updated to NodeBB v4.3 + New Features

Setting up cross compiler (rasp Pi)

Scheduled Pinned Locked Moved QtonPi
setting up rasp
11 Posts 3 Posters 3.6k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Yes it's a folder as good as any, but with this naming it's clear what it is. It will contain the host tools that will be used to setup/handle your cross-compiled Qt. The one on the remote will contain the cross-compiled libraries that will be used to run your applications.

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

    N 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Yes it's a folder as good as any, but with this naming it's clear what it is. It will contain the host tools that will be used to setup/handle your cross-compiled Qt. The one on the remote will contain the cross-compiled libraries that will be used to run your applications.

      N Offline
      N Offline
      newpi
      wrote on last edited by
      #3

      @SGaist thank you very much for your clarification..

      So it appears the host folder is missing. Do I simply clone the folder from /mnt/raspberry-pi-rootfps to the host workstation?

      Thank you

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

        No, it should be created when you call make install

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

        N 1 Reply Last reply
        0
        • SGaistS SGaist

          No, it should be created when you call make install

          N Offline
          N Offline
          newpi
          wrote on last edited by
          #5

          @SGaist hmm.. That's what I'm trying to figure out. The host folder isn't there even though it's specified in the config script. Not sure what I'm don g wrong here.

          Thank you for your help sofar

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

            Got any error message when calling make install ?

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

            N 1 Reply Last reply
            0
            • SGaistS SGaist

              Got any error message when calling make install ?

              N Offline
              N Offline
              newpi
              wrote on last edited by
              #7

              @SGaist Hi I'm sorry about the delayed response.

              I re-ran the config just to make sure whether there are any errors.I didn’t notice any. I ran config, make, sudo make install all three on ~/Qt/5.5/Src$ and still i cant see /usr/local/qt5pi created?

              Not sure what im doing wrong here. My home folder is encrypted (if that makes any diffrence). i thought running sudo make install enable to create folders on root?

              I'm really frustrated with this issue, any help is appreciated,

              Thank you very much for your help so far.

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

                When calling configure again, did you do it on a clean tree ?

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

                N 1 Reply Last reply
                0
                • N newpi

                  @SGaist Hi I'm sorry about the delayed response.

                  I re-ran the config just to make sure whether there are any errors.I didn’t notice any. I ran config, make, sudo make install all three on ~/Qt/5.5/Src$ and still i cant see /usr/local/qt5pi created?

                  Not sure what im doing wrong here. My home folder is encrypted (if that makes any diffrence). i thought running sudo make install enable to create folders on root?

                  I'm really frustrated with this issue, any help is appreciated,

                  Thank you very much for your help so far.

                  J Offline
                  J Offline
                  Jonnax
                  wrote on last edited by Jonnax
                  #9

                  @newpi

                  The compiled files will be on the mounted sd card image. You set qt creator to use those files when configuring.
                  The only downside to this is that you need to mount that image every time you want to cross compile.
                  I just made a script to mount the img then open qt creator and it gets me back to where I was.

                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    When calling configure again, did you do it on a clean tree ?

                    N Offline
                    N Offline
                    newpi
                    wrote on last edited by
                    #10

                    @SGaist Hi No i ran it on ~/Qt/5.5/Src$

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

                      When you re-call configure you must do it on a clean tree otherwise you might have problems

                      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

                      • Login

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