Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Crosscompilation - the lazy way. Possible?

    Installation and Deployment
    2
    3
    168
    Loading More Posts
    • 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.
    • artwaw
      artwaw last edited by

      Good evening,
      I recently revisited my plans to do something with raspi gathering dust in the drawer and decided to code a bit for it.

      I discovered same tutorial as described here https://forum.qt.io/topic/87988/compiling-qt-on-windows-for-cross-compilation-with-raspberry-fails-project-error-cannot-run-target-compiler/2 - https://wiki.qt.io/RaspberryPi2EGLFS

      As @jsulm advised in one of the posts I am able to setup Linux VM for myself but I am lazy - my everyday computer is Mac, every other system works via VMs. Is there a way to setup cross compilation for RasPi 32bit on 64bit macOS that can't even run anything 32bit? Honest question, I never touched cross compilation tasks.

      If there is no such way (and I assume that is the case here) I have no problems working through the VM, it's just I am lazy.

      Many thanks in advance!

      For more information please re-read.

      Kind Regards,
      Artur

      jeremy_k 1 Reply Last reply Reply Quote 0
      • jeremy_k
        jeremy_k @artwaw last edited by

        Have you looked into Yocto? It is, or at least was a Linux to Linux cross compile system/distribution/pain in the neck. I see there are blog posts about using it from macOS and Windows via docker, and something about a web interface.

        https://www.yoctoproject.org/software-overview/development-environment/

        The pain in the neck part of cross compilation is keeping the process from accidentally using an incompatible component from the host system.

        Asking a question about code? http://eel.is/iso-c++/testcase/

        artwaw 1 Reply Last reply Reply Quote 3
        • artwaw
          artwaw @jeremy_k last edited by

          @jeremy_k Thank you, I will take a look.

          For more information please re-read.

          Kind Regards,
          Artur

          1 Reply Last reply Reply Quote 0
          • First post
            Last post