Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Crosscompilation - the lazy way. Possible?
QtWS25 Last Chance

Crosscompilation - the lazy way. Possible?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 354 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.
  • artwawA Offline
    artwawA Offline
    artwaw
    wrote on last edited by
    #1

    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_kJ 1 Reply Last reply
    0
    • artwawA artwaw

      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!

      jeremy_kJ Offline
      jeremy_kJ Offline
      jeremy_k
      wrote on last edited by
      #2

      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/

      artwawA 1 Reply Last reply
      3
      • jeremy_kJ jeremy_k

        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.

        artwawA Offline
        artwawA Offline
        artwaw
        wrote on last edited by
        #3

        @jeremy_k Thank you, I will take a look.

        For more information please re-read.

        Kind Regards,
        Artur

        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