Skip to content

Commit 0b35cce

Browse files
committedOct 25, 2016
Update qt5 build instructions for Fedora
1 parent b2587b7 commit 0b35cce

File tree

3 files changed

+40
-21
lines changed

3 files changed

+40
-21
lines changed
 

‎INSTALL‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
QGIS
22
Building QGIS from source - step by step
3-
Monday October 17, 2016
4-
5-
6-
Last Updated: Monday October 17, 2016
7-
Last Change : Monday October 17, 2016
3+
Tuesday October 25, 2016
84

5+
Last Updated: Tuesday October 25, 2016
6+
Last Change : Monday October 24, 2016
97

108
1. Introduction
119
2. Overview
@@ -370,20 +368,31 @@ new subdirectory called `build` or `build-qt5` in it.
370368
3.11.1. Install build dependencies
371369
==================================
372370

371+
373372
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static
374373
qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
375374
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
376375
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
377376
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel
378-
qwt-devel gsl-devel postgresql-devel
377+
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
378+
python3-psycopg2 python3-PyYAML qca-qt5-ossl
379+
380+
381+
To build QGIS server additional dependencies are required:
382+
383+
384+
dnf install fcgi-devel
385+
379386

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

386-
cmake -DENABLE_QT5=ON -DWITH_QWTPOLAR=OFF ..
393+
394+
cmake ..
395+
387396

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

‎doc/INSTALL.html‎

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@
7777
<DIV CLASS="header" ID="header">
7878
<H1>QGIS</H1>
7979
<H2>Building QGIS from source - step by step</H2>
80-
<H3>Monday October 17, 2016</H3>
80+
<H3>Tuesday October 25, 2016</H3>
8181
</DIV>
8282

8383
<DIV CLASS="body" ID="body">
8484
<P>
85-
Last Updated: Monday October 17, 2016
86-
Last Change : Monday October 17, 2016
85+
Last Updated: Tuesday October 25, 2016
86+
Last Change : Monday October 24, 2016
8787
</P>
8888
<DIV CLASS="toc">
8989

@@ -563,38 +563,41 @@ <H3>3.10.1. Install build dependencies</H3>
563563
command in the empty build directory once before starting to use the
564564
interactive tools.
565565
</P>
566-
567566
<div class="code"><PRE>
568567
cmake
569568
</PRE></div>
570-
569+
<P></P>
571570
<P>
572571
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)
573572
</P>
574-
575573
<div class="code"><PRE>
576574
make
577575
</PRE></div>
578-
576+
<P></P>
579577
<A NAME="toc14"></A>
580578
<H2>3.11. On Fedora Linux</H2>
581-
582579
<P>
583580
We assume that you have the source code of QGIS ready and created a
584581
new subdirectory called `build` or `build-qt5` in it.
585582
</P>
586-
587583
<H3>3.11.1. Install build dependencies</H3>
588-
589584
<div class="code"><PRE>
590585
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static
591586
qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
592587
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
593588
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
594589
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel
595-
qwt-devel gsl-devel postgresql-devel
590+
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
591+
python3-psycopg2 python3-PyYAML qca-qt5-ossl
596592
</PRE></div>
597-
593+
<P></P>
594+
<P>
595+
To build QGIS server additional dependencies are required:
596+
</P>
597+
<div class="code"><PRE>
598+
dnf install fcgi-devel
599+
</PRE></div>
600+
<P></P>
598601
<P>
599602
Make sure that your build directory is completely empty when you enter the
600603
following command. Do never try to "re-use" an existing Qt4 build directory.

‎doc/linux.t2t‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,14 @@ qt5-qtscript-devel qca-qt5-devel python3-qt5-devel python3-qscintilla-qt5-devel
254254
qscintilla-qt5-devel python3-qscintilla-devel python3-qscintilla-qt5
255255
clang flex bison geos-devel gdal-devel sqlite-devel libspatialite-devel
256256
qt5-qtsvg-devel qt5-qtxmlpatterns-devel spatialindex-devel expat-devel proj-devel
257-
qwt-devel gsl-devel postgresql-devel
257+
qwt-qt5-devel gsl-devel postgresql-devel cmake python3-future gdal-python3
258+
python3-psycopg2 python3-PyYAML qca-qt5-ossl
259+
```
260+
261+
To build QGIS server additional dependencies are required:
262+
263+
```
264+
dnf install fcgi-devel
258265
```
259266

260267
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
264271
tools.
265272

266273
```
267-
cmake -DENABLE_QT5=ON -DWITH_QWTPOLAR=OFF ..
274+
cmake ..
268275
```
269276

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

0 commit comments

Comments
 (0)
Please sign in to comment.