Update qt5 build instructions for Fedora

This commit is contained in:
Nyall Dawson 2016-10-25 12:14:22 +10:00
parent b2587b7bf3
commit 0b35ccefa9
3 changed files with 40 additions and 21 deletions

23
INSTALL
View File

@ -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,12 +368,21 @@ 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.
@ -383,7 +390,9 @@ 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

View File

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

View File

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