mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
INSTALL updates: MSVC builds, debian builds
This commit is contained in:
parent
6ed389c8e8
commit
0395225c41
35
INSTALL
35
INSTALL
@ -1,10 +1,10 @@
|
||||
QGIS
|
||||
Building QGIS from source - step by step
|
||||
Friday August 04, 2017
|
||||
Saturday August 05, 2017
|
||||
|
||||
|
||||
Last Updated: Friday August 04, 2017
|
||||
Last Change : Friday August 04, 2017
|
||||
Last Updated: Saturday August 05, 2017
|
||||
Last Change : Saturday August 05, 2017
|
||||
|
||||
|
||||
1. Introduction
|
||||
@ -186,6 +186,10 @@ Now update your local sources database:
|
||||
|
||||
(extracted from the control.in file in debian/)
|
||||
|
||||
See http://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu for
|
||||
currently supported distributions (plain xenial's GDAL for instance is to old
|
||||
and we build with GDAL2 from ubuntugis).
|
||||
|
||||
|
||||
3.4. Setup ccache (Optional)
|
||||
============================
|
||||
@ -473,6 +477,9 @@ and from OSGeo4W (select Advanced Installation):
|
||||
- qwt-devel-qt5
|
||||
- sip-qt5
|
||||
- spatialite
|
||||
- oci
|
||||
- qtkeychain
|
||||
- libzip
|
||||
|
||||
This will also select packages the above packages depend on.
|
||||
|
||||
@ -499,20 +506,26 @@ variables create the following batch file (assuming the above packages were
|
||||
installed in the default locations):
|
||||
|
||||
@echo off
|
||||
set VS90COMNTOOLS=%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\Tools\
|
||||
call "%PROGRAMFILES%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||
|
||||
set INCLUDE=%INCLUDE%;%PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\include
|
||||
set LIB=%LIB%;%PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\lib
|
||||
|
||||
set OSGEO4W_ROOT=C:\OSGeo4W
|
||||
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
|
||||
path %PATH%;%PROGRAMFILES%\CMake\bin;c:\cygwin\bin
|
||||
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
|
||||
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
|
||||
|
||||
@set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-6.4.4
|
||||
set O4W_ROOT=%OSGEO4W_ROOT:\=/%
|
||||
set LIB_DIR=%O4W_ROOT%
|
||||
|
||||
call "C:\Program Files\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||
path %path%;C:\Program Files\Microsoft Visual Studio 14.0\VC\bin
|
||||
|
||||
path %PATH%;C:\Program Files\CMake\bin;c:\cygwin\bin
|
||||
|
||||
@set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-7.2.1
|
||||
@set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
|
||||
@set LIB=%LIB%;%OSGEO4W_ROOT%\lib;%OSGEO4W_ROOT%\lib
|
||||
|
||||
set LIB=%LIB%;%OSGEO4W_ROOT%\apps\Qt5\lib;%OSGEO4W_ROOT%\lib
|
||||
set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\apps\Qt5\include;%OSGEO4W_ROOT%\include
|
||||
|
||||
@cmd
|
||||
|
||||
Start the batch file and on the command prompt checkout the QGIS source from
|
||||
|
@ -77,13 +77,13 @@ label{ background-color: #FFFFCC;
|
||||
<DIV CLASS="header" ID="header">
|
||||
<H1>QGIS</H1>
|
||||
<H2>Building QGIS from source - step by step</H2>
|
||||
<H3>Friday August 04, 2017</H3>
|
||||
<H3>Saturday August 05, 2017</H3>
|
||||
</DIV>
|
||||
|
||||
<DIV CLASS="body" ID="body">
|
||||
<P>
|
||||
Last Updated: Friday August 04, 2017
|
||||
Last Change : Friday August 04, 2017
|
||||
Last Updated: Saturday August 05, 2017
|
||||
Last Change : Saturday August 05, 2017
|
||||
</P>
|
||||
<DIV CLASS="toc">
|
||||
|
||||
@ -332,6 +332,11 @@ sudo apt-get update
|
||||
<P>
|
||||
(extracted from the control.in file in <CODE>debian/</CODE>)
|
||||
</P>
|
||||
<P>
|
||||
See <A HREF="http://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu">http://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu</A> for
|
||||
currently supported distributions (plain xenial's GDAL for instance is to old
|
||||
and we build with GDAL2 from ubuntugis).
|
||||
</P>
|
||||
|
||||
<A NAME="toc7"></A>
|
||||
<H2>3.4. Setup ccache (Optional)</H2>
|
||||
@ -752,6 +757,9 @@ and from OSGeo4W (select <I>Advanced Installation</I>):
|
||||
<LI>qwt-devel-qt5
|
||||
<LI>sip-qt5
|
||||
<LI>spatialite
|
||||
<LI>oci
|
||||
<LI>qtkeychain
|
||||
<LI>libzip
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
@ -785,20 +793,26 @@ installed in the default locations):
|
||||
|
||||
<div class="code"><PRE>
|
||||
@echo off
|
||||
set VS90COMNTOOLS=%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\Tools\
|
||||
call "%PROGRAMFILES%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||
|
||||
set INCLUDE=%INCLUDE%;%PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\include
|
||||
set LIB=%LIB%;%PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\lib
|
||||
|
||||
set OSGEO4W_ROOT=C:\OSGeo4W
|
||||
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
|
||||
path %PATH%;%PROGRAMFILES%\CMake\bin;c:\cygwin\bin
|
||||
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
|
||||
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
|
||||
|
||||
@set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-6.4.4
|
||||
set O4W_ROOT=%OSGEO4W_ROOT:\=/%
|
||||
set LIB_DIR=%O4W_ROOT%
|
||||
|
||||
call "C:\Program Files\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||
path %path%;C:\Program Files\Microsoft Visual Studio 14.0\VC\bin
|
||||
|
||||
path %PATH%;C:\Program Files\CMake\bin;c:\cygwin\bin
|
||||
|
||||
@set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-7.2.1
|
||||
@set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
|
||||
@set LIB=%LIB%;%OSGEO4W_ROOT%\lib;%OSGEO4W_ROOT%\lib
|
||||
|
||||
set LIB=%LIB%;%OSGEO4W_ROOT%\apps\Qt5\lib;%OSGEO4W_ROOT%\lib
|
||||
set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\apps\Qt5\include;%OSGEO4W_ROOT%\include
|
||||
|
||||
@cmd
|
||||
</PRE></div>
|
||||
|
||||
|
@ -52,6 +52,10 @@ sudo apt-get update
|
||||
|
||||
(extracted from the control.in file in ``debian/``)
|
||||
|
||||
See http://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu for
|
||||
currently supported distributions (plain xenial's GDAL for instance is to old
|
||||
and we build with GDAL2 from ubuntugis).
|
||||
|
||||
|
||||
== Setup ccache (Optional) ==
|
||||
|
||||
|
25
doc/msvc.t2t
25
doc/msvc.t2t
@ -61,6 +61,9 @@ and from OSGeo4W (select //Advanced Installation//):
|
||||
- qwt-devel-qt5
|
||||
- sip-qt5
|
||||
- spatialite
|
||||
- oci
|
||||
- qtkeychain
|
||||
- libzip
|
||||
-
|
||||
|
||||
|
||||
@ -90,20 +93,26 @@ installed in the default locations):
|
||||
|
||||
```
|
||||
@echo off
|
||||
set VS90COMNTOOLS=%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\Tools\
|
||||
call "%PROGRAMFILES%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||||
|
||||
set INCLUDE=%INCLUDE%;%PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\include
|
||||
set LIB=%LIB%;%PROGRAMFILES%\Microsoft SDKs\Windows\v7.1\lib
|
||||
|
||||
set OSGEO4W_ROOT=C:\OSGeo4W
|
||||
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
|
||||
path %PATH%;%PROGRAMFILES%\CMake\bin;c:\cygwin\bin
|
||||
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
|
||||
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
|
||||
|
||||
@set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-6.4.4
|
||||
set O4W_ROOT=%OSGEO4W_ROOT:\=/%
|
||||
set LIB_DIR=%O4W_ROOT%
|
||||
|
||||
call "C:\Program Files\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||
path %path%;C:\Program Files\Microsoft Visual Studio 14.0\VC\bin
|
||||
|
||||
path %PATH%;C:\Program Files\CMake\bin;c:\cygwin\bin
|
||||
|
||||
@set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-7.2.1
|
||||
@set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
|
||||
@set LIB=%LIB%;%OSGEO4W_ROOT%\lib;%OSGEO4W_ROOT%\lib
|
||||
|
||||
set LIB=%LIB%;%OSGEO4W_ROOT%\apps\Qt5\lib;%OSGEO4W_ROOT%\lib
|
||||
set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\apps\Qt5\include;%OSGEO4W_ROOT%\include
|
||||
|
||||
@cmd
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user