-
Notifications
You must be signed in to change notification settings - Fork 753
Deploying Windows to Linux
Radhi edited this page Aug 16, 2017
·
3 revisions
The easiest way to deploy from Windows to Linux is by using docker image.
-
Make sure you already installed
docker
on 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.