Skip to content
Permalink
Browse files

Update qt5 build instructions for Fedora

  • Loading branch information
nyalldawson committed Oct 25, 2016
1 parent b2587b7 commit 0b35ccefa982c2933a0f4c153ea0a83713537022
Showing with 40 additions and 21 deletions.
  1. +16 −7 INSTALL
  2. +15 −12 doc/INSTALL.html
  3. +9 −2 doc/linux.t2t
23 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
@@ -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
@@ -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">

@@ -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.
@@ -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
@@ -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

0 comments on commit 0b35cce

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