Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update qt5 build instructions for Fedora
  • Loading branch information
nyalldawson committed Oct 25, 2016
1 parent b2587b7 commit 0b35cce
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 21 deletions.
23 changes: 16 additions & 7 deletions INSTALL
@@ -1,11 +1,9 @@
QGIS
Building QGIS from source - step by step
Monday October 17, 2016


Last Updated: Monday October 17, 2016
Last Change : Monday October 17, 2016
Tuesday October 25, 2016

Last Updated: Tuesday October 25, 2016
Last Change : Monday October 24, 2016

1. Introduction
2. Overview
Expand Down Expand Up @@ -370,20 +368,31 @@ new subdirectory called `build` or `build-qt5` in it.
3.11.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-devel gsl-devel postgresql-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:


dnf install fcgi-devel


Make sure that your build directory is completely empty when you enter the
following command. Do never try to "re-use" an existing Qt4 build directory.
If you want to use `ccmake` or other interactive tools, run the following
command in the empty build directory once before starting to use the interactive
tools.

cmake -DENABLE_QT5=ON -DWITH_QWTPOLAR=OFF ..

cmake ..


If everything went ok you can finally start to compile. (As usual append a -jX
where X is the number of available cores option to make to speed up your build
Expand Down
27 changes: 15 additions & 12 deletions doc/INSTALL.html
Expand Up @@ -77,13 +77,13 @@
<DIV CLASS="header" ID="header">
<H1>QGIS</H1>
<H2>Building QGIS from source - step by step</H2>
<H3>Monday October 17, 2016</H3>
<H3>Tuesday October 25, 2016</H3>
</DIV>

<DIV CLASS="body" ID="body">
<P>
Last Updated: Monday October 17, 2016
Last Change : Monday October 17, 2016
Last Updated: Tuesday October 25, 2016
Last Change : Monday October 24, 2016
</P>
<DIV CLASS="toc">

Expand Down Expand Up @@ -563,38 +563,41 @@ <H3>3.10.1. Install build dependencies</H3>
command in the empty build directory once before starting to use the
interactive tools.
</P>

<div class="code"><PRE>
cmake
</PRE></div>

<P></P>
<P>
If everything went ok you can finally start to compile. (As usual append a -jX where X is the number of available cores option to make to speed up your build process)
</P>

<div class="code"><PRE>
make
</PRE></div>

<P></P>
<A NAME="toc14"></A>
<H2>3.11. On Fedora Linux</H2>

<P>
We assume that you have the source code of QGIS ready and created a
new subdirectory called `build` or `build-qt5` in it.
</P>

<H3>3.11.1. Install build dependencies</H3>

<div class="code"><PRE>
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-devel gsl-devel postgresql-devel
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
python3-psycopg2 python3-PyYAML qca-qt5-ossl
</PRE></div>

<P></P>
<P>
To build QGIS server additional dependencies are required:
</P>
<div class="code"><PRE>
dnf install fcgi-devel
</PRE></div>
<P></P>
<P>
Make sure that your build directory is completely empty when you enter the
following command. Do never try to "re-use" an existing Qt4 build directory.
Expand Down
11 changes: 9 additions & 2 deletions doc/linux.t2t
Expand Up @@ -254,7 +254,14 @@ 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-devel gsl-devel postgresql-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:

```
dnf install fcgi-devel
```

Make sure that your build directory is completely empty when you enter the
Expand All @@ -264,7 +271,7 @@ command in the empty build directory once before starting to use the interactive
tools.

```
cmake -DENABLE_QT5=ON -DWITH_QWTPOLAR=OFF ..
cmake ..
```

If everything went ok you can finally start to compile. (As usual append a -jX
Expand Down

0 comments on commit 0b35cce

Please sign in to comment.