Skip to content
Permalink
Browse files

t2tdoc run (followup 8923aa9 & ae397bf)

  • Loading branch information
jef-n committed Oct 14, 2018
1 parent 82dccf7 commit faeb160065ba58245547e75582ae9a8f25ff768b
Showing with 70 additions and 49 deletions.
  1. +35 −24 INSTALL
  2. +35 −25 doc/INSTALL.html
59 INSTALL
@@ -1,10 +1,10 @@
QGIS
Building QGIS from source - step by step
Wednesday August 22, 2018
Sunday October 14, 2018


Last Updated: Wednesday August 22, 2018
Last Change : Wednesday August 22, 2018
Last Updated: Sunday October 14, 2018
Last Change : Sunday October 14, 2018


1. Introduction
@@ -317,16 +317,11 @@ Build and install with ninja:
ninja (uses all cores by default; also supports the above described -jX option)
ninja install

You can build just the targets you need using, for example :
You can build just the targets you need using, for example:

ninja qgis
ninja pycore

You can build just the targets you need using, for example:

- ninja qgis
- ninja pycore


3.8. Building Debian packages
=============================
@@ -462,7 +457,7 @@ For the QGIS build you need to install following packages from cygwin:

and from OSGeo4W (select Advanced Installation):

- qgis-rel-deps
- qgis-dev-deps

This will also select packages the above packages depend on.

@@ -1046,37 +1041,53 @@ of space and it's not necessary at all.
4.4. Building on Linux with mxe
===============================

With this approach you can build a windows binary on Linux using mxe MXE (M cross environment).
You can find the build script and a README file in the ms-windows/mxe directory.
With this approach you can cross build a Windows binary on Linux using MXE (M cross environment).
You can find the build script and a README.md file in the ms-windows/mxe directory.

For now, Python buildings cannot be built with mxe.


4.4.1. Initial setup
====================
4.4.1. Building with Docker
===========================

This is the simplest way, but you need to have Docker installed
on your system.

You can use a Docker image to cross build QGIS by calling
the script ms-windows/mxe/build.sh from the root directory of QGIS repository.

=== Building without Docker ====

This requires to install mxe toolchain on your system and build
all dependencies by yourself.


4.4.1.1. Initial setup
======================

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


4.4.2. Building the dependencies
================================
4.4.1.2. Building the dependencies
==================================

Please see the README under ms-windows/mxe for a list of the dependencies that need to be
built in mxe before attempting to build QGIS.
Please see README.md under ms-windows/mxe for detailed instructions and for the
list of dependencies that need to be built in mxe before attempting to build QGIS.


4.4.3. Cross-Building QGIS
==========================
4.4.1.3. Cross-Building QGIS
============================

Edit the build-mxe.sh script and change the path where your mxe installation is located, you
can also change the build and release directory.
Edit the build-mxe.sh script and optionally adjust the path where your mxe installation is located, you
can also change the build and release directories.


4.4.4. Testing QGIS
4.4.2. Testing QGIS
===================

Copy and unzip the release package on a Windows machine and launch it!
Copy and unzip on the Windows machine package produced by the build and launch the qgis binary: no installation
is required.


5. Building on MacOS X
@@ -77,13 +77,13 @@
<DIV CLASS="header" ID="header">
<H1>QGIS</H1>
<H2>Building QGIS from source - step by step</H2>
<H3>Wednesday August 22, 2018</H3>
<H3>Sunday October 14, 2018</H3>
</DIV>

<DIV CLASS="body" ID="body">
<P>
Last Updated: Wednesday August 22, 2018
Last Change : Wednesday August 22, 2018
Last Updated: Sunday October 14, 2018
Last Change : Sunday October 14, 2018
</P>
<DIV CLASS="toc">

@@ -532,23 +532,14 @@ <H2>3.7. Starting the compile</H2>
</PRE></div>

<P>
You can build just the targets you need using, for example :
You can build just the targets you need using, for example:
</P>

<div class="code"><PRE>
ninja qgis
ninja pycore
</PRE></div>

<P>
You can build just the targets you need using, for example:
</P>

<UL>
<LI>ninja qgis
<LI>ninja pycore
</UL>

<A NAME="toc11"></A>
<H2>3.8. Building Debian packages</H2>

@@ -754,7 +745,7 @@ <H3>4.1.2. Other tools and dependencies</H3>
</P>

<UL>
<LI>qgis-rel-deps
<LI>qgis-dev-deps
</UL>

<P>
@@ -1486,38 +1477,57 @@ <H3>4.3.3. Cleanup</H3>
<H2>4.4. Building on Linux with mxe</H2>

<P>
With this approach you can build a windows binary on Linux using mxe MXE (M cross environment).
You can find the build script and a README file in the ms-windows/mxe directory.
With this approach you can cross build a Windows binary on Linux using MXE (M cross environment).
You can find the build script and a README.md file in the ms-windows/mxe directory.
</P>
<P>
For now, Python buildings cannot be built with mxe.
</P>

<H3>4.4.1. Initial setup</H3>
<H3>4.4.1. Building with Docker</H3>

<P>
This is the simplest way, but you need to have Docker installed
on your system.
</P>
<P>
You can use a Docker image to cross build QGIS by calling
the script ms-windows/mxe/build.sh from the root directory of QGIS repository.
</P>
<P>
=== Building without Docker ====
</P>
<P>
This requires to install mxe toolchain on your system and build
all dependencies by yourself.
</P>

<H4>4.4.1.1. Initial setup</H4>

<P>
Please follow the instructions on mxe website to setup your building toolchain <A HREF="http://mxe.cc/">http://mxe.cc/</A>,
take note of the path where you have installed mxe.
</P>

<H3>4.4.2. Building the dependencies</H3>
<H4>4.4.1.2. Building the dependencies</H4>

<P>
Please see the README under ms-windows/mxe for a list of the dependencies that need to be
built in mxe before attempting to build QGIS.
Please see README.md under ms-windows/mxe for detailed instructions and for the
list of dependencies that need to be built in mxe before attempting to build QGIS.
</P>

<H3>4.4.3. Cross-Building QGIS</H3>
<H4>4.4.1.3. Cross-Building QGIS</H4>

<P>
Edit the build-mxe.sh script and change the path where your mxe installation is located, you
can also change the build and release directory.
Edit the build-mxe.sh script and optionally adjust the path where your mxe installation is located, you
can also change the build and release directories.
</P>

<H3>4.4.4. Testing QGIS</H3>
<H3>4.4.2. Testing QGIS</H3>

<P>
Copy and unzip the release package on a Windows machine and launch it!
Copy and unzip on the Windows machine package produced by the build and launch the qgis binary: no installation
is required.
</P>

<A NAME="toc18"></A>

0 comments on commit faeb160

Please sign in to comment.
You can’t perform that action at this time.