Skip to content
Permalink
Browse files

update INSTALL

  • Loading branch information
jef-n committed Jun 27, 2017
1 parent 7f7842a commit 8c5838fe86a954c1a2bad1ec8cba4f0247adf34a
Showing with 53 additions and 21 deletions.
  1. +15 −9 INSTALL
  2. +22 −4 doc/INSTALL.html
  3. +16 −8 doc/linux.t2t
24 INSTALL
@@ -1,10 +1,10 @@
QGIS
Building QGIS from source - step by step
Saturday June 10, 2017
Tuesday June 27, 2017


Last Updated: Saturday June 10, 2017
Last Change : Saturday June 10, 2017
Last Updated: Tuesday June 27, 2017
Last Change : Tuesday June 27, 2017


1. Introduction
@@ -362,7 +362,14 @@ new subdirectory called `build` or `build-qt5` in it.
3.9.1. Install build dependencies
=================================

dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5 clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3 python3-psycopg2 python3-PyYAML python3-pygments python3-jinja2 python3-OSWLib qca-qt5-ossl qwt-devel qtkeychain-qt5-devel
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static
qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
python3-psycopg2 python3-PyYAML python3-pygments python3-jinja2 python3-OSWLib
qca-qt5-ossl

To build QGIS server additional dependencies are required:

@@ -399,11 +406,10 @@ the useful debug output which is normally printed when running the unit tests.

To enable debug prints for the current user, execute:

cat > ~/.config/QtProject/qtlogging.ini << EOL
[Rules]
default.debug=true
EOL

cat > ~/.config/QtProject/qtlogging.ini << EOL
[Rules]
default.debug=true
EOL


4. Building on Windows
@@ -77,13 +77,13 @@
<DIV CLASS="header" ID="header">
<H1>QGIS</H1>
<H2>Building QGIS from source - step by step</H2>
<H3>Saturday June 10, 2017</H3>
<H3>Tuesday June 27, 2017</H3>
</DIV>

<DIV CLASS="body" ID="body">
<P>
Last Updated: Saturday June 10, 2017
Last Change : Saturday June 10, 2017
Last Updated: Tuesday June 27, 2017
Last Change : Tuesday June 27, 2017
</P>
<DIV CLASS="toc">

@@ -596,7 +596,8 @@ <H3>3.9.1. Install build dependencies</H3>
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
python3-psycopg2 python3-PyYAML qca-qt5-ossl
python3-psycopg2 python3-PyYAML python3-pygments python3-jinja2 python3-OSWLib
qca-qt5-ossl
</PRE></div>

<P>
@@ -645,6 +646,23 @@ <H3>3.9.1. Install build dependencies</H3>
make install
</PRE></div>

<H3>3.9.2. Suggested system tweaks</H3>

<P>
By default Fedora disables debugging calls from Qt applications. This prevents
the useful debug output which is normally printed when running the unit tests.
</P>
<P>
To enable debug prints for the current user, execute:
</P>

<div class="code"><PRE>
cat &gt; ~/.config/QtProject/qtlogging.ini &lt;&lt; EOL
[Rules]
default.debug=true
EOL
</PRE></div>

<A NAME="toc13"></A>
<H1>4. Building on Windows</H1>

@@ -130,7 +130,7 @@ be pressed several times before the 'g' option becomes available.
After the 'g' generation is complete, press 'q' to exit the ccmake
interactive dialog.

/!\ **Warning:** Make sure that your build directory is completely empty when you
/!\ **Warning:** Make sure that your build directory is completely empty when you
enter the command. Do never try to "re-use" an existing **Qt4** build directory.
If you want to use `ccmake` or other interactive tools, run the command in
the empty build directory once before starting to use the interactive tools.
@@ -252,13 +252,7 @@ new subdirectory called `build` or `build-qt5` in it.
=== Install build dependencies ===

```
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static
qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
python3-psycopg2 python3-PyYAML qca-qt5-ossl
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5 clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3 python3-psycopg2 python3-PyYAML python3-pygments python3-jinja2 python3-OSWLib qca-qt5-ossl
```

To build QGIS server additional dependencies are required:
@@ -297,3 +291,17 @@ Or install to your system
```
make install
```

=== Suggested system tweaks ===

By default Fedora disables debugging calls from Qt applications. This prevents
the useful debug output which is normally printed when running the unit tests.

To enable debug prints for the current user, execute:

```
cat > ~/.config/QtProject/qtlogging.ini << EOL
[Rules]
default.debug=true
EOL
```

0 comments on commit 8c5838f

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