|
1 | 1 |
|
2 | 2 | == Building on Linux with mxe ==
|
3 | 3 |
|
4 |
| -With this approach you can build a windows binary on Linux using mxe MXE (M cross environment). |
5 |
| -You can find the build script and a README file in the ms-windows/mxe directory. |
| 4 | +With this approach you can cross build a Windows binary on Linux using MXE (M cross environment). |
| 5 | +You can find the build script and a README.md file in the ms-windows/mxe directory. |
6 | 6 |
|
7 | 7 | For now, Python buildings cannot be built with mxe.
|
8 | 8 |
|
9 |
| -=== Initial setup === |
| 9 | +=== Building with Docker === |
| 10 | + |
| 11 | +This is the simplest way, but you need to have Docker installed |
| 12 | +on your system. |
| 13 | + |
| 14 | +You can use a Docker image to cross build QGIS by calling |
| 15 | +the script ms-windows/mxe/build.sh from the root directory of QGIS repository. |
| 16 | + |
| 17 | +=== Building without Docker ==== |
| 18 | + |
| 19 | +This requires to install mxe toolchain on your system and build |
| 20 | +all dependencies by yourself. |
| 21 | + |
| 22 | +==== Initial setup ==== |
10 | 23 |
|
11 | 24 | Please follow the instructions on mxe website to setup your building toolchain http://mxe.cc/,
|
12 | 25 | take note of the path where you have installed mxe.
|
13 | 26 |
|
14 |
| -=== Building the dependencies === |
| 27 | +==== Building the dependencies ==== |
15 | 28 |
|
16 |
| -Please see the README under ms-windows/mxe for a list of the dependencies that need to be |
17 |
| -built in mxe before attempting to build QGIS. |
| 29 | +Please see README.md under ms-windows/mxe for detailed instructions and for the |
| 30 | +list of dependencies that need to be built in mxe before attempting to build QGIS. |
18 | 31 |
|
19 |
| -=== Cross-Building QGIS === |
| 32 | +==== Cross-Building QGIS ==== |
20 | 33 |
|
21 |
| -Edit the build-mxe.sh script and change the path where your mxe installation is located, you |
22 |
| -can also change the build and release directory. |
| 34 | +Edit the build-mxe.sh script and optionally adjust the path where your mxe installation is located, you |
| 35 | +can also change the build and release directories. |
23 | 36 |
|
24 | 37 | === Testing QGIS ===
|
25 | 38 |
|
26 |
| -Copy and unzip the release package on a Windows machine and launch it! |
| 39 | +Copy and unzip on the Windows machine package produced by the build and launch the qgis binary: no installation |
| 40 | +is required. |
0 commit comments