Deploying macOS to SailfishOS - therecipe/qt GitHub Wiki
Docker deployment
-
Install Docker: https://download.docker.com/mac/stable/Docker.dmg
-
Share your GOPATH with docker if it isn't located in some subfolder below
/Users/
,/Volumes/
,/private/
or/tmp/
. -
Pull the target image
docker pull therecipe/qt:sailfish
- Deploy your application
qtdeploy -docker build sailfish
or
qtdeploy -docker build sailfish-emulator
You should find your deployed application inside the deploy
subfolder.
Regular deployment
-
Install the [official version of Qt (<= 5.7.x)](/therecipe/qt/wiki/Installation-on-macOS#official-version-with-iosandroid-supports) (https://download.qt.io/archive/qt/)
-
Export the environment variable
QT_VERSION=5.7.x
-
Install VirtualBox: https://download.virtualbox.org/virtualbox/6.0.8/VirtualBox-6.0.8-130520-OSX.dmg
If you have to, you can also define a custom location with VIRTUALBOX_DIR
- Install the SailfishOS SDK: https://releases.sailfishos.org/sdk/installers/2.1.1/SailfishSDK-2.1.1-mac-offline.dmg
If you have to, you can also define a custom location with SAILFISH_DIR
- If you haven't already, run the setup for sailfish
qtsetup full sailfish && qtsetup full sailfish-emulator
- Deploy your application
qtdeploy build sailfish
or
qtdeploy build sailfish-emulator
You should find your deployed application inside the deploy
subfolder.