hyperposa.blogg.se

Cross compile for mac on linux
Cross compile for mac on linux









Even more, this guide can be interesting for any person who wants to build/run Qt-based software on Apple Silicon based Mac. Also it can be a good starting point if you plan to start qBittorrent development (or just want to understand the basics of cross-compiling). No deep knowledge in C/C++ compilation/development process is required, just following this guide allows to achieve desired result. This guide was written based on sources from master branch at the time of writing, but it is applicable for 4.3.x series too. Rosetta (or any other software allowing to run non-native binaries) is not required to produce binaries for other architecture, neither for running compiled qBittorrent. Universal (aka "fat") binaries are not supported due to a lot of technically difficult reasons of compiling required dependencies. producing arm64 binaries on x86_64 host and vice versa. Cross-compilation is possible (and was tested) in both directions, i.e. Most of the steps are the same for all cases, required adjustments for a specific case are highlighted. Cross-compilation process is covered as well. following this guide you will be able to build as x86_64 (aka for Intel chip based Mac) so as arm64 (aka for Apple Silicon based Mac) binaries. This guide covers qBittorrent compilation process for any supported Mac systems as of writing, i.e. Obsolete compilation guides Clone this wiki locally cmake (x86_64, arm64, cross-compilation, static linkage).Fully static binaries on Linux (glibc or musl).Debian / Ubuntu and derivatives (autotools/qmake).Debian / Ubuntu and derivatives (CMake).Using VSCode for qBittorrent development.

cross compile for mac on linux

OpenVPN and qBittorrent without X server.Running qBittorrent without X server (WebUI only, systemd service set up, Ubuntu 15.04 or newer).Running qBittorrent without X server (WebUI only).Let's Encrypt certificates + NGINX reverse proxy - Linux.Let's Encrypt Certificates + Caddy2 Reverse Proxy.qBittorrent options (current and deprecated).











Cross compile for mac on linux