Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. [TUTORIAL] Cross compile for RaspberryPi 4 from MAC
Forum Updated to NodeBB v4.3 + New Features

[TUTORIAL] Cross compile for RaspberryPi 4 from MAC

Scheduled Pinned Locked Moved Brainstorm
16 Posts 7 Posters 5.7k Views 4 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.
  • GiridharG Offline
    GiridharG Offline
    Giridhar
    wrote on last edited by
    #5

    Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.

    Founder & Developer of: https://pidmx.net
    Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

    JKSHJ 1 Reply Last reply
    0
    • GiridharG Giridhar

      Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #6

      @Giridhar said in Should I make a tutorial?:

      Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.

      I look forward to it!

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      GiridharG 1 Reply Last reply
      0
      • JKSHJ JKSH

        @Giridhar said in Should I make a tutorial?:

        Okay, I'll start this job in my spare time. At the moment I am full due to university and work. I will put the link to the repo when I get started.

        I look forward to it!

        GiridharG Offline
        GiridharG Offline
        Giridhar
        wrote on last edited by
        #7

        @JKSH

        Ok, this is the link to the tutorial.

        https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

        As I said, I will update it in my free time. There is only a problem: I deleted the configuration folder so I need some days to prepare everything again. I will do it with the 6.2.2 version.

        Founder & Developer of: https://pidmx.net
        Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

        1 Reply Last reply
        2
        • artwawA Offline
          artwawA Offline
          artwaw
          wrote on last edited by
          #8

          This is good. I myself work on macOS with RasPi but after failing a few times to set this up properly my way to go is with Remote Desktop access and compile directly on the Pi. It works but damn it is slow... I am happy to try out your way!

          For more information please re-read.

          Kind Regards,
          Artur

          GiridharG 1 Reply Last reply
          0
          • artwawA artwaw

            This is good. I myself work on macOS with RasPi but after failing a few times to set this up properly my way to go is with Remote Desktop access and compile directly on the Pi. It works but damn it is slow... I am happy to try out your way!

            GiridharG Offline
            GiridharG Offline
            Giridhar
            wrote on last edited by
            #9

            @artwaw said in Should I make a tutorial?:

            This is good. I myself work on macOS with RasPi but after failing a few times to set this up properly my way to go is with Remote Desktop access and compile directly on the Pi. It works but damn it is slow... I am happy to try out your way!

            Yes, I used the same approach for the latest 6 months. The input lag is to hateful.

            Founder & Developer of: https://pidmx.net
            Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

            1 Reply Last reply
            0
            • GiridharG Offline
              GiridharG Offline
              Giridhar
              wrote on last edited by Giridhar
              #10

              Hello guys. I'm writing the tutorial but I've encountered some problems making the toolchain because the tool "Crosstool-ng" stuck on building m4 and I don't understand why. I'm so sorry. Working on it.

              EDIT: After 10 hours of trying I compiled m4, hope I won't find new strange and random errors :D

              Founder & Developer of: https://pidmx.net
              Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

              JKSHJ 1 Reply Last reply
              1
              • GiridharG Giridhar

                Hello guys. I'm writing the tutorial but I've encountered some problems making the toolchain because the tool "Crosstool-ng" stuck on building m4 and I don't understand why. I'm so sorry. Working on it.

                EDIT: After 10 hours of trying I compiled m4, hope I won't find new strange and random errors :D

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #11

                @Giridhar said in Should I make a tutorial?:

                Hello guys. I'm writing the tutorial but I've encountered some problems making the toolchain because the tool "Crosstool-ng" stuck on building m4 and I don't understand why. I'm so sorry. Working on it.

                EDIT: After 10 hours of trying I compiled m4, hope I won't find new strange and random errors :D

                You have nothing to apologize for! :D Finding and fixing problems is part of a programmer's life.

                All the best.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                1
                • GiridharG Offline
                  GiridharG Offline
                  Giridhar
                  wrote on last edited by Giridhar
                  #12

                  There is a good news. I compiled a Qt Project from MacOS to raspberry pi using Cmake instead of Qmake.
                  BTW I'm still making the tutorial to make the cross-compile environment.

                  Founder & Developer of: https://pidmx.net
                  Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

                  1 Reply Last reply
                  1
                  • GiridharG Offline
                    GiridharG Offline
                    Giridhar
                    wrote on last edited by
                    #13

                    I would like to announce that I've finished to write the tutorial.
                    You can find it here.

                    Hoping that somebody of you could help me to improve it :-).

                    Founder & Developer of: https://pidmx.net
                    Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

                    1 Reply Last reply
                    3
                    • Kent-DorfmanK Offline
                      Kent-DorfmanK Offline
                      Kent-Dorfman
                      wrote on last edited by
                      #14
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        Nobuddy
                        wrote on last edited by
                        #15

                        Any updates to this tutorial? Trying on an M4 Mac and the crosstool-ng build is crapping out when trying to build make.

                        1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          Nobuddy
                          wrote on last edited by
                          #16
                          This post is deleted!
                          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