|
1 | 1 | QGIS
|
2 | 2 | Building QGIS from source - step by step
|
3 |
| -Wednesday August 22, 2018 |
| 3 | +Sunday October 14, 2018 |
4 | 4 |
|
5 | 5 |
|
6 |
| -Last Updated: Wednesday August 22, 2018 |
7 |
| -Last Change : Wednesday August 22, 2018 |
| 6 | +Last Updated: Sunday October 14, 2018 |
| 7 | +Last Change : Sunday October 14, 2018 |
8 | 8 |
|
9 | 9 |
|
10 | 10 | 1. Introduction
|
@@ -317,16 +317,11 @@ Build and install with ninja:
|
317 | 317 | ninja (uses all cores by default; also supports the above described -jX option)
|
318 | 318 | ninja install
|
319 | 319 |
|
320 |
| -You can build just the targets you need using, for example : |
| 320 | +You can build just the targets you need using, for example: |
321 | 321 |
|
322 | 322 | ninja qgis
|
323 | 323 | ninja pycore
|
324 | 324 |
|
325 |
| -You can build just the targets you need using, for example: |
326 |
| - |
327 |
| -- ninja qgis |
328 |
| -- ninja pycore |
329 |
| - |
330 | 325 |
|
331 | 326 | 3.8. Building Debian packages
|
332 | 327 | =============================
|
@@ -462,7 +457,7 @@ For the QGIS build you need to install following packages from cygwin:
|
462 | 457 |
|
463 | 458 | and from OSGeo4W (select Advanced Installation):
|
464 | 459 |
|
465 |
| -- qgis-rel-deps |
| 460 | +- qgis-dev-deps |
466 | 461 |
|
467 | 462 | This will also select packages the above packages depend on.
|
468 | 463 |
|
@@ -1046,37 +1041,53 @@ of space and it's not necessary at all.
|
1046 | 1041 | 4.4. Building on Linux with mxe
|
1047 | 1042 | ===============================
|
1048 | 1043 |
|
1049 |
| -With this approach you can build a windows binary on Linux using mxe MXE (M cross environment). |
1050 |
| -You can find the build script and a README file in the ms-windows/mxe directory. |
| 1044 | +With this approach you can cross build a Windows binary on Linux using MXE (M cross environment). |
| 1045 | +You can find the build script and a README.md file in the ms-windows/mxe directory. |
1051 | 1046 |
|
1052 | 1047 | For now, Python buildings cannot be built with mxe.
|
1053 | 1048 |
|
1054 | 1049 |
|
1055 |
| - 4.4.1. Initial setup |
1056 |
| - ==================== |
| 1050 | + 4.4.1. Building with Docker |
| 1051 | + =========================== |
| 1052 | + |
| 1053 | +This is the simplest way, but you need to have Docker installed |
| 1054 | +on your system. |
| 1055 | + |
| 1056 | +You can use a Docker image to cross build QGIS by calling |
| 1057 | +the script ms-windows/mxe/build.sh from the root directory of QGIS repository. |
| 1058 | + |
| 1059 | +=== Building without Docker ==== |
| 1060 | + |
| 1061 | +This requires to install mxe toolchain on your system and build |
| 1062 | +all dependencies by yourself. |
| 1063 | + |
| 1064 | + |
| 1065 | + 4.4.1.1. Initial setup |
| 1066 | + ====================== |
1057 | 1067 |
|
1058 | 1068 | Please follow the instructions on mxe website to setup your building toolchain http://mxe.cc/,
|
1059 | 1069 | take note of the path where you have installed mxe.
|
1060 | 1070 |
|
1061 | 1071 |
|
1062 |
| - 4.4.2. Building the dependencies |
1063 |
| - ================================ |
| 1072 | + 4.4.1.2. Building the dependencies |
| 1073 | + ================================== |
1064 | 1074 |
|
1065 |
| -Please see the README under ms-windows/mxe for a list of the dependencies that need to be |
1066 |
| -built in mxe before attempting to build QGIS. |
| 1075 | +Please see README.md under ms-windows/mxe for detailed instructions and for the |
| 1076 | +list of dependencies that need to be built in mxe before attempting to build QGIS. |
1067 | 1077 |
|
1068 | 1078 |
|
1069 |
| - 4.4.3. Cross-Building QGIS |
1070 |
| - ========================== |
| 1079 | + 4.4.1.3. Cross-Building QGIS |
| 1080 | + ============================ |
1071 | 1081 |
|
1072 |
| -Edit the build-mxe.sh script and change the path where your mxe installation is located, you |
1073 |
| -can also change the build and release directory. |
| 1082 | +Edit the build-mxe.sh script and optionally adjust the path where your mxe installation is located, you |
| 1083 | +can also change the build and release directories. |
1074 | 1084 |
|
1075 | 1085 |
|
1076 |
| - 4.4.4. Testing QGIS |
| 1086 | + 4.4.2. Testing QGIS |
1077 | 1087 | ===================
|
1078 | 1088 |
|
1079 |
| -Copy and unzip the release package on a Windows machine and launch it! |
| 1089 | +Copy and unzip on the Windows machine package produced by the build and launch the qgis binary: no installation |
| 1090 | +is required. |
1080 | 1091 |
|
1081 | 1092 |
|
1082 | 1093 | 5. Building on MacOS X
|
|
0 commit comments