[krusader] /: Allow Krusader to be built under the 16.04 LTS versions of Ubuntu, Kubuntu, etc

Toni Asensi Esteve null at kde.org
Sat Feb 15 17:14:41 GMT 2020


Git commit a11b93d571572060af6c4cf8403ae6a777772858 by Toni Asensi Esteve.
Committed on 15/02/2020 at 17:13.
Pushed by asensi into branch 'master'.

Allow Krusader to be built under the 16.04 LTS versions of Ubuntu, Kubuntu, etc

FIXED: [ 417349 ] Krusader installation (make) fails when trying to build krarc
BUG: 417349

Differential Revision: https://phabricator.kde.org/D27335

M  +6    -0    INSTALL
M  +16   -0    doc/index.docbook
M  +1    -0    krArc/krarc.cpp

https://commits.kde.org/krusader/a11b93d571572060af6c4cf8403ae6a777772858

diff --git a/INSTALL b/INSTALL
index bc331139..7d4e32a5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -166,6 +166,12 @@ $ cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS="-O2 -fPIC" -DC
 
 Note: An example of an output of cmake can be seen in https://phabricator.kde.org/w/krusader/cmake-output/
 
+Note: If Krusader is going to be built under the 16.04 LTS version of Ubuntu (or Kubuntu, etc.) then
+installing Qt 5.9 (or newer) is needed (it could be downloaded from https://www.qt.io/offline-installers) and
+the aforementioned cmake command would need (at its end) an additional argument like:
+    -DCMAKE_PREFIX_PATH=/opt/Qt/5.9/gcc_64/
+if e.g. Qt 5.9 was installed inside /opt
+
 
 --- Compilation and installation
 
diff --git a/doc/index.docbook b/doc/index.docbook
index f926e87b..85d6f16b 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -28,6 +28,22 @@
 <!ENTITY NFS   "<acronym>NFS</acronym>">
 <!ENTITY USB   "<acronym>USB</acronym>">
 <!ENTITY Samba "<application>Samba</application>">
+
+<!-- For the 16.04 LTS version of Ubuntu (or Kubuntu, etc.) -->
+<!ENTITY Left "<keycap>Left</keycap>">
+<!ENTITY Right "<keycap>Right</keycap>">
+<!ENTITY Up "<keycap>Up</keycap>">
+<!ENTITY Down "<keycap>Down</keycap>">
+<!ENTITY Ins "<keycap>Ins</keycap>">
+<!ENTITY Space "<keycap>Space</keycap>">
+<!ENTITY Home "<keycap>Home</keycap>">
+<!ENTITY End "<keycap>End</keycap>">
+<!ENTITY Meta "<keycap>Meta</keycap>">
+<!ENTITY PgUp "<keycap>PgUp</keycap>">
+<!ENTITY PgDn "<keycap>PgDn</keycap>">
+<!ENTITY Debian "<productname>Debian</productname>">
+<!ENTITY PDF   "<acronym>PDF</acronym>">
+
 <!-- <!ENTITY % addindex "IGNORE"> -->
 <!ENTITY % addindex "INCLUDE">
 
diff --git a/krArc/krarc.cpp b/krArc/krarc.cpp
index 7b49f2da..a0265b80 100644
--- a/krArc/krarc.cpp
+++ b/krArc/krarc.cpp
@@ -24,6 +24,7 @@
 
 // QtCore
 #include <QByteArray>
+#include <QCoreApplication>
 #include <QDebug>
 #include <QDir>
 #include <QFile>


More information about the kde-doc-english mailing list