| 1 |
Follow these steps to build KLog. |
| 2 |
|
| 3 |
KLog requires Qt6 to be built. |
| 4 |
|
| 5 |
Currently, many distributions are still distributing Qt4 as a default Qt |
| 6 |
version so it may be needed that you install Qt6 to be able to build KLog in |
| 7 |
your system. |
| 8 |
|
| 9 |
install may depend on your distribution, however, check for similar names & |
| 10 |
versions and it will probably work :-) |
| 11 |
|
| 12 |
If you have any suggestion for this file, please contact me. (Contact |
| 13 |
details in the AUTHORS file). |
| 14 |
|
| 15 |
|
| 16 |
1. Install the KLog dependencies |
| 17 |
|
| 18 |
There are dependencies to build KLog and dependencies to run KLog. |
| 19 |
|
| 20 |
The dependencies to build KLog are: |
| 21 |
cmake, qt6-tools-dev-tools, qt6-base-dev, libqt6charts6-dev, qt6-serialport-dev, |
| 22 |
libhamlib++-dev, qmake6, libqt6sql6-sqlite, libhamlib-dev, qt6-location-dev, |
| 23 |
qt6-positioning-dev, qt6-l10n-tools, qt6-declarative-private-dev, qt6-tools-dev |
| 24 |
|
| 25 |
The dependencies to run KLog once installed are: |
| 26 |
libqt6serialport6, libqt6sql6-sqlite, qml6-module-qtlocation, qml6-module-qtquick-window, |
| 27 |
qml6-module-qtquick, qml6-module-qtquick-controls, qt6-location-plugins |
| 28 |
|
| 29 |
|
| 30 |
If your are using the Debian KLog package the dependencies to run KLog will be automatically installed when installing the KLog package. |
| 31 |
|
| 32 |
|
| 33 |
In your distribution, you should know how to install new packages :-) |
| 34 |
|
| 35 |
|
| 36 |
Make sure you have qt6 available. You can do it with the qtchooser command. |
| 37 |
The output should be something like: |
| 38 |
|
| 39 |
user@debian:~$ qmake6 -v |
| 40 |
QMake version 3.1 |
| 41 |
Using Qt version 6.4.2 in /usr/lib/x86_64-linux-gnu |
| 42 |
|
| 43 |
If Qt is not at least Qt6, check your instalallation as one of the previous packages may be missing. |
| 44 |
|
| 45 |
|
| 46 |
2.- Untar klog |
| 47 |
|
| 48 |
tar xvzf klog-version.tar.gz |
| 49 |
|
| 50 |
enter the KLog directory |
| 51 |
|
| 52 |
cd klog-version |
| 53 |
|
| 54 |
|
| 55 |
3.- Prepare build system |
| 56 |
We will create a folde named "build" and all the build process of KLog will happen in that folder. |
| 57 |
Run: |
| 58 |
|
| 59 |
cmake -S . -B build |
| 60 |
|
| 61 |
4. Make everything. |
| 62 |
|
| 63 |
cmake --build build |
| 64 |
|
| 65 |
If everything goes OK, you should have the klog executable in the folder. |
| 66 |
|
| 67 |
5.- To install KLog, execute the following from the root account. |
| 68 |
|
| 69 |
cmake --install build --prefix /usr |
| 70 |
|
| 71 |
or simply via sudo: sudo cmake --install build --prefix /usr |
| 72 |
|
| 73 |
Now you are done. Just execute klog and enjoy! |
| 74 |
|
| 75 |
|
| 76 |
73 |