... | ... | @@ -20,16 +20,40 @@ sudo apt install git cmake extra-cmake-modules build-essential \ |
|
|
|
|
|
## Set up *desktop style* for desktop systems without a Qt integration (optional)
|
|
|
|
|
|
If your system has no Qt integration, you can set the correct desktop style.
|
|
|
For KDE Plasma you do not need that since it has such an integration.
|
|
|
If your system has no Qt integration (e.g., on systems with GNOME such as the regular Ubuntu), you can set up the correct desktop style.
|
|
|
For KDE Plasma, you do not need that since it has such an integration.
|
|
|
|
|
|
```bash
|
|
|
sudo apt install libkf5qqc2desktopstyle-dev qml-module-org-kde-qqc2desktopstyle
|
|
|
```
|
|
|
|
|
|
The following example sets `org.kde.desktop`, which is already the default, as the desktop style that will be used by Kaidan.
|
|
|
|
|
|
```bash
|
|
|
echo "export QT_QUICK_CONTROLS_STYLE=org.kde.desktop" >> ~/.profile
|
|
|
source ~/.profile
|
|
|
```
|
|
|
|
|
|
## Set up omemo library *libomemo-c*
|
|
|
## Set up theming for desktop environments other than KDE Plasma (e.g., GNOME)
|
|
|
|
|
|
To get a more appropriate look of Kaidan, you can use a configuration tool (`qt5ct` for Qt5 apps such as *Kaidan* and `qt6ct` for Qt6 apps such as *QtCreator*).
|
|
|
|
|
|
```bash
|
|
|
sudo apt install qt5ct qt6ct adwaita-qt adwaita-qt6
|
|
|
qt5ct && qt6ct
|
|
|
echo "export QT_QPA_PLATFORMTHEME=qt5ct" >> ~/.profile
|
|
|
source ~/.profile
|
|
|
```
|
|
|
|
|
|
After opening the configuration tools, set the settings you want for each of them.
|
|
|
|
|
|
For example with GNOME on Ubuntu, you might want to set the widget theme to *Adwaita*, the standard dialogs to *GTK3* (for the file dialog) and the icon theme to *Breeze*.
|
|
|
Furthermore, you can adjust the font to *Ubuntu Regular* with size *11* and *Ubuntu Mono Regular* with size *13*.
|
|
|
|
|
|
## Set up OMEMO library *libomemo-c*
|
|
|
|
|
|
There is currently (as of 2022-09-18) no Debian package for *libomemo-c*.
|
|
|
Thus, it has to be built manually.
|
|
|
|
|
|
```bash
|
|
|
git clone https://github.com/dino/libomemo-c
|
... | ... | @@ -41,7 +65,10 @@ sudo make install |
|
|
|
|
|
## Set up the XMPP library *QXmpp*
|
|
|
|
|
|
The version packaged in debian is currently too old (only v1.0.0), so we need to build QXmpp manually.
|
|
|
QXmpp can either be used via a Debian package or by building it manually.
|
|
|
|
|
|
If the version packaged in Debian is too old, QXmpp has to be built manually.
|
|
|
That is currently (as of 2022-09-18) the case.
|
|
|
|
|
|
```bash
|
|
|
git clone https://github.com/qxmpp-project/qxmpp
|
... | ... | @@ -51,6 +78,13 @@ make -j$(nproc) |
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
As soon as QXmpp 1.5 is packaged for Debian, you can use that package.
|
|
|
But remember that recent features in Kaidan often also need a more recent version of QXmpp.
|
|
|
|
|
|
```bash
|
|
|
sudo apt install libqxmpp-dev
|
|
|
```
|
|
|
|
|
|
## Set up *Kaidan*
|
|
|
|
|
|
### Get the source code
|
... | ... | |