Skip to content

Commit f56e3dd

Browse files
committedOct 13, 2018
mxe documentation
1 parent 219a4be commit f56e3dd

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed
 

‎doc/mxe.t2t

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,40 @@
11

22
== Building on Linux with mxe ==
33

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.
66

77
For now, Python buildings cannot be built with mxe.
88

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 ====
1023

1124
Please follow the instructions on mxe website to setup your building toolchain http://mxe.cc/,
1225
take note of the path where you have installed mxe.
1326

14-
=== Building the dependencies ===
27+
==== Building the dependencies ====
1528

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.
1831

19-
=== Cross-Building QGIS ===
32+
==== Cross-Building QGIS ====
2033

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.
2336

2437
=== Testing QGIS ===
2538

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

Comments
 (0)
Please sign in to comment.