Cross compiling is usually difficult to get set up, but that's doubly true when the target is macOS, square that if it's QT and square it again is it's a different CPU architecture.

I'm trying to grind through it, but I think it might be grinding through me instead.

I'm attempting to start with the same CPU architecture (x86_64) to minimize the number of concurrent changes. One of us will be more stubborn, and I think I'll eventually outlast the build tool, as good of a fight as they may put up.

#development #mac #linux #foss

Reply to this note

Please Login to reply.

Discussion

wow, good luck sir, pls report back from the front

I now have a better understamding of why search engines aren't pulling up any guides on how to cross compile QT apps for macOS. People generally don't do this. Even the people who frequent the QT forums aren't sure if it's possible, and that doesn't even touch the question about compiling for ARM of an x86_64 machine.

https://forum.qt.io/topic/98510/cross-compile-qt-from-linux-to-macos

I didn't realize I was trying to do something so rare.