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 QGIS
Building QGIS from source - step by step Building QGIS from source - step by step
Monday October 17, 2016 Tuesday October 25, 2016
Last Updated: Monday October 17, 2016
Last Change : Monday October 17, 2016
Last Updated: Tuesday October 25, 2016
Last Change : Monday October 24, 2016
1. Introduction 1. Introduction
2. Overview 2. Overview
@ -370,12 +368,21 @@ new subdirectory called `build` or `build-qt5` in it.
3.11.1. Install build dependencies 3.11.1. 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 qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5 qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
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-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 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. 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 command in the empty build directory once before starting to use the interactive
tools. tools.
cmake -DENABLE_QT5=ON -DWITH_QWTPOLAR=OFF ..
cmake ..
If everything went ok you can finally start to compile. (As usual append a -jX 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 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"> <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>Monday October 17, 2016</H3> <H3>Tuesday October 25, 2016</H3>
</DIV> </DIV>
<DIV CLASS="body" ID="body"> <DIV CLASS="body" ID="body">
<P> <P>
Last Updated: Monday October 17, 2016 Last Updated: Tuesday October 25, 2016
Last Change : Monday October 17, 2016 Last Change : Monday October 24, 2016
</P> </P>
<DIV CLASS="toc"> <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 command in the empty build directory once before starting to use the
interactive tools. interactive tools.
</P> </P>
<div class="code"><PRE> <div class="code"><PRE>
cmake cmake
</PRE></div> </PRE></div>
<P></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) 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> </P>
<div class="code"><PRE> <div class="code"><PRE>
make make
</PRE></div> </PRE></div>
<P></P>
<A NAME="toc14"></A> <A NAME="toc14"></A>
<H2>3.11. On Fedora Linux</H2> <H2>3.11. On Fedora Linux</H2>
<P> <P>
We assume that you have the source code of QGIS ready and created a We assume that you have the source code of QGIS ready and created a
new subdirectory called `build` or `build-qt5` in it. new subdirectory called `build` or `build-qt5` in it.
</P> </P>
<H3>3.11.1. Install build dependencies</H3> <H3>3.11.1. Install build dependencies</H3>
<div class="code"><PRE> <div class="code"><PRE>
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 qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5 qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
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-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> </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> <P>
Make sure that your build directory is completely empty when you enter the 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. 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 qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
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-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 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. tools.
``` ```
cmake -DENABLE_QT5=ON -DWITH_QWTPOLAR=OFF .. cmake ..
``` ```
If everything went ok you can finally start to compile. (As usual append a -jX If everything went ok you can finally start to compile. (As usual append a -jX