Skip to content

Commit

Permalink
update INSTALL
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 27, 2017
1 parent 7f7842a commit 8c5838f
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 21 deletions.
24 changes: 15 additions & 9 deletions INSTALL
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,10 @@
QGIS QGIS
Building QGIS from source - step by step Building QGIS from source - step by step
Saturday June 10, 2017 Tuesday June 27, 2017




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




1. Introduction 1. Introduction
Expand Down Expand Up @@ -362,7 +362,14 @@ new subdirectory called `build` or `build-qt5` in it.
3.9.1. Install build dependencies 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: To build QGIS server additional dependencies are required:


Expand Down Expand Up @@ -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: To enable debug prints for the current user, execute:


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





4. Building on Windows 4. Building on Windows
Expand Down
26 changes: 22 additions & 4 deletions doc/INSTALL.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@
<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>Saturday June 10, 2017</H3> <H3>Tuesday June 27, 2017</H3>
</DIV> </DIV>


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


Expand Down Expand Up @@ -596,7 +596,8 @@ <H3>3.9.1. Install build dependencies</H3>
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-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 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> </PRE></div>


<P> <P>
Expand Down Expand Up @@ -645,6 +646,23 @@ <H3>3.9.1. Install build dependencies</H3>
make install make install
</PRE></div> </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> <A NAME="toc13"></A>
<H1>4. Building on Windows</H1> <H1>4. Building on Windows</H1>


Expand Down
24 changes: 16 additions & 8 deletions doc/linux.t2t
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 After the 'g' generation is complete, press 'q' to exit the ccmake
interactive dialog. 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. 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 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. the empty build directory once before starting to use the interactive tools.
Expand Down Expand Up @@ -252,13 +252,7 @@ new subdirectory called `build` or `build-qt5` in it.
=== Install build dependencies === === Install build dependencies ===


``` ```
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static 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
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
``` ```


To build QGIS server additional dependencies are required: To build QGIS server additional dependencies are required:
Expand Down Expand Up @@ -297,3 +291,17 @@ Or install to your system
``` ```
make install 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.