Skip to content

Commit 36161fc

Browse files
committed
INstructions for installing with Qt5+Py3 on Debian in INSTALL
1 parent d676fcb commit 36161fc

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

INSTALL

+31-2
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,44 @@ code is compatible with PyQt5.
335335

336336
You have been warned.
337337

338+
3.10. On Debian Linux
339+
=====================
340+
341+
We assume that you have the source code of QGIS ready and created a
342+
new subdirectory called `build` or `build-qt5` in it.
343+
344+
3.10.1. Install build dependencies
345+
==================================
346+
347+
apt-egt install git build-essential cmake flex bison pyqt5-dev qttools5-dev
348+
qtpositioning5-dev libqt5svg5-dev libqt5webkit5-dev libqt5gui5 libqt5scripttools5
349+
qtscript5-dev libqca-qt5-2-dev grass-dev libgeos-dev libgdal-dev libqt5xmlpatterns5-dev
350+
libqt5scintilla2-dev pyqt5.qsci-dev python3-pyqt5.qsci libgsl-dev txt2tags libproj-dev
351+
libqwt-qt5-dev libspatialindex-dev pyqt5-dev-tools qttools5-dev-tools qt5-default
352+
python3-future python3-pyqt5.qtsql python3-psycopg2
353+
354+
Make sure that your build directory is completely empty when you enter the
355+
following command. Do never try to "re-use" an existing Qt4 build directory.
356+
If you want to use `ccmake` or other interactive tools, run the following
357+
command in the empty build directory once before starting to use the interactive
358+
tools.
338359

339-
3.10. On Fedora Linux
360+
cmake -DENABLE_QT5=ON -DPORT_PLUGINS=ON
361+
362+
If everything went ok you can finally start to compile. (As usual append a -jX
363+
where X is the number of available cores option to make to speed up your build
364+
process)
365+
366+
make
367+
368+
3.11. On Fedora Linux
340369
=====================
341370

342371
We assume that you have the source code of QGIS ready and created a
343372
new subdirectory called `build` or `build-qt5` in it.
344373

345374

346-
3.10.1. Install build dependencies
375+
3.11.1. Install build dependencies
347376
==================================
348377

349378
dnf install qt5-qtwebkit-devel qt5-qtlocation-devel qt5-qttools-static

0 commit comments

Comments
 (0)