mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
t2tdoc run (followup 8923aa9bb & ae397bf24)
This commit is contained in:
parent
82dccf71a5
commit
faeb160065
59
INSTALL
59
INSTALL
@ -1,10 +1,10 @@
|
|||||||
QGIS
|
QGIS
|
||||||
Building QGIS from source - step by step
|
Building QGIS from source - step by step
|
||||||
Wednesday August 22, 2018
|
Sunday October 14, 2018
|
||||||
|
|
||||||
|
|
||||||
Last Updated: Wednesday August 22, 2018
|
Last Updated: Sunday October 14, 2018
|
||||||
Last Change : Wednesday August 22, 2018
|
Last Change : Sunday October 14, 2018
|
||||||
|
|
||||||
|
|
||||||
1. Introduction
|
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 (uses all cores by default; also supports the above described -jX option)
|
||||||
ninja install
|
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 qgis
|
||||||
ninja pycore
|
ninja pycore
|
||||||
|
|
||||||
You can build just the targets you need using, for example:
|
|
||||||
|
|
||||||
- ninja qgis
|
|
||||||
- ninja pycore
|
|
||||||
|
|
||||||
|
|
||||||
3.8. Building Debian packages
|
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):
|
and from OSGeo4W (select Advanced Installation):
|
||||||
|
|
||||||
- qgis-rel-deps
|
- qgis-dev-deps
|
||||||
|
|
||||||
This will also select packages the above packages depend on.
|
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
|
4.4. Building on Linux with mxe
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
With this approach you can build a windows binary on Linux using mxe MXE (M cross environment).
|
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 file in the ms-windows/mxe directory.
|
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.
|
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/,
|
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.
|
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
|
Please see README.md under ms-windows/mxe for detailed instructions and for the
|
||||||
built in mxe before attempting to build QGIS.
|
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
|
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 directory.
|
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
|
5. Building on MacOS X
|
||||||
|
@ -77,13 +77,13 @@ label{ background-color: #FFFFCC;
|
|||||||
<DIV CLASS="header" ID="header">
|
<DIV CLASS="header" ID="header">
|
||||||
<H1>QGIS</H1>
|
<H1>QGIS</H1>
|
||||||
<H2>Building QGIS from source - step by step</H2>
|
<H2>Building QGIS from source - step by step</H2>
|
||||||
<H3>Wednesday August 22, 2018</H3>
|
<H3>Sunday October 14, 2018</H3>
|
||||||
</DIV>
|
</DIV>
|
||||||
|
|
||||||
<DIV CLASS="body" ID="body">
|
<DIV CLASS="body" ID="body">
|
||||||
<P>
|
<P>
|
||||||
Last Updated: Wednesday August 22, 2018
|
Last Updated: Sunday October 14, 2018
|
||||||
Last Change : Wednesday August 22, 2018
|
Last Change : Sunday October 14, 2018
|
||||||
</P>
|
</P>
|
||||||
<DIV CLASS="toc">
|
<DIV CLASS="toc">
|
||||||
|
|
||||||
@ -532,7 +532,7 @@ ninja install
|
|||||||
</PRE></div>
|
</PRE></div>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
You can build just the targets you need using, for example :
|
You can build just the targets you need using, for example:
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<div class="code"><PRE>
|
<div class="code"><PRE>
|
||||||
@ -540,15 +540,6 @@ ninja qgis
|
|||||||
ninja pycore
|
ninja pycore
|
||||||
</PRE></div>
|
</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>
|
<A NAME="toc11"></A>
|
||||||
<H2>3.8. Building Debian packages</H2>
|
<H2>3.8. Building Debian packages</H2>
|
||||||
|
|
||||||
@ -754,7 +745,7 @@ and from OSGeo4W (select <I>Advanced Installation</I>):
|
|||||||
</P>
|
</P>
|
||||||
|
|
||||||
<UL>
|
<UL>
|
||||||
<LI>qgis-rel-deps
|
<LI>qgis-dev-deps
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -1486,38 +1477,57 @@ of space and it's not necessary at all.
|
|||||||
<H2>4.4. Building on Linux with mxe</H2>
|
<H2>4.4. Building on Linux with mxe</H2>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
With this approach you can build a windows binary on Linux using mxe MXE (M cross environment).
|
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 file in the ms-windows/mxe directory.
|
You can find the build script and a README.md file in the ms-windows/mxe directory.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
For now, Python buildings cannot be built with mxe.
|
For now, Python buildings cannot be built with mxe.
|
||||||
</P>
|
</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>
|
<P>
|
||||||
Please follow the instructions on mxe website to setup your building toolchain <A HREF="http://mxe.cc/">http://mxe.cc/</A>,
|
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.
|
take note of the path where you have installed mxe.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<H3>4.4.2. Building the dependencies</H3>
|
<H4>4.4.1.2. Building the dependencies</H4>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
Please see the README under ms-windows/mxe for a list of the dependencies that need to be
|
Please see README.md under ms-windows/mxe for detailed instructions and for the
|
||||||
built in mxe before attempting to build QGIS.
|
list of dependencies that need to be built in mxe before attempting to build QGIS.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<H3>4.4.3. Cross-Building QGIS</H3>
|
<H4>4.4.1.3. Cross-Building QGIS</H4>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
Edit the build-mxe.sh script and change the path where your mxe installation is located, you
|
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 directory.
|
can also change the build and release directories.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<H3>4.4.4. Testing QGIS</H3>
|
<H3>4.4.2. Testing QGIS</H3>
|
||||||
|
|
||||||
<P>
|
<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>
|
</P>
|
||||||
|
|
||||||
<A NAME="toc18"></A>
|
<A NAME="toc18"></A>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user