Deploying Windows to SailfishOS - therecipe/qt GitHub Wiki
Docker deployment
-
Install Docker: https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
-
Share the drive containing your GOPATH with docker
-
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-Windows#official-version-with-android-support) (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-Win.exe
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-windows-offline.exe
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.