-
Notifications
You must be signed in to change notification settings - Fork 750
Deploying macOS to SailfishOS
therecipe edited this page Jun 28, 2019
·
3 revisions
-
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.
-
Install the official version of Qt (<= 5.7.x) (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.