Deploying Linux to macOS - therecipe/qt GitHub Wiki
Vagrant deployment
This option is strongly recommended against and you should deploy your application from a real macOS device instead.
- Install Vagrant: https://www.vagrantup.com/downloads.html
- Install VirtualBox: https://www.virtualbox.org/wiki/Linux_Downloads
- Provision the target box
cd $(go env GOPATH)/src/github.com/therecipe/qt/internal/vagrant/darwin && vagrant up darwin
- Deploy your application
qtdeploy -vagrant build darwin/darwin
You should find your deployed application inside the deploy
subfolder.