-
Notifications
You must be signed in to change notification settings - Fork 749
Deploying macOS to Linux
Radhi edited this page Aug 16, 2017
·
4 revisions
The easiest way to deploy from macOS to Linux is by using docker image.
-
Make sure you already installed
dockeron your system. -
Pull docker image for Linux :
docker pull therecipe/qt:linux -
Deploy your app :
qtdeploy -docker build linux
The output of deployment process will be located in folder deploy/linux at your project's root directory :
project-name
└── deploy
└── linux
├── lib/
├── linux/
├── plugins/
├── qml/
├── project-name
└── project-name.sh
You can start your app either by running project-name or project-name.sh. If you use project-name, your app will run using Qt5 libraries that installed by your target's package manager, therefore make it looks native in the targeted platform. On the other hand, if you use project-name.sh, your app will run by dynamic linking the included libraries which will use the fusion style.