-
Notifications
You must be signed in to change notification settings - Fork 748
Deploying Linux to SailfishOS
therecipe edited this page Jun 28, 2019
·
3 revisions
-
Install Docker: https://store.docker.com/search?offering=community&type=edition or using a package manager
-
If necessary run docker as root
-
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://www.virtualbox.org/wiki/Linux_Downloads
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-linux64-offline.run
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.