| 1 | === manual installation using system QT (abandoned) === |
| 2 | Instead of using the dev_setup.sh use the following commands to do the setup |
| 3 | * sudo apt-get install -y git-core g++ cmake extra-cmake-modules kio-dev gettext pkg-config |
| 4 | * sudo apt-get install -y pkg-kde-tools qtbase5-dev qtdeclarative5-dev kio-dev |
| 5 | * sudo apt-get install -y libqt5websockets5-dev libkf5i18n-dev libkf5notifications-dev libkf5plasma-dev libkf5kio-dev |
| 6 | then install the additional packages for libqt5webview5-dev manually |
| 7 | === additional debian packages === |
| 8 | download the deb files: |
| 9 | * wget http://ftp.de.debian.org/debian/pool/main/q/qtwebview-opensource-src/libqt5webview5-dev_5.11.3-2_armhf.deb |
| 10 | * wget http://ftp.de.debian.org/debian/pool/main/q/qtwebview-opensource-src/libqt5webview5_5.11.3-2_armhf.deb |
| 11 | * wget http://ftp.de.debian.org/debian/pool/main/q/qtwebengine-opensource-src/libqt5webengine5_5.11.3+dfsg-2+deb10u1_armhf.deb |
| 12 | * wget http://ftp.de.debian.org/debian/pool/main/q/qtwebengine-opensource-src/libqt5webenginecore5_5.11.3+dfsg-2+deb10u1_armhf.deb |
| 13 | |
| 14 | install with: |
| 15 | * sudo apt install ./libqt5webenginecore5_5.11.3+dfsg-2+deb10u1_armhf.deb |
| 16 | * sudo apt install ./libqt5webengine5_5.11.3+dfsg-2+deb10u1_armhf.deb |
| 17 | * sudo apt install ./libqt5webview5_5.11.3-2_armhf.deb |
| 18 | * sudo apt install ./libqt5webview5-dev_5.11.3-2_armhf.deb |
| 19 | === continue setup === |
| 20 | * mkdir -p build-testing |
| 21 | * cd build-testing |
| 22 | clean if the directory already existed |
| 23 | * rm -r * |
| 24 | * cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON |
| 25 | * make -j4 |
| 26 | * sudo make install |
| 27 | * cd .. |
| 28 | build lottie |
| 29 | * rm -rf lottie-qml/ |
| 30 | * git clone https://github.com/kbroulik/lottie-qml |
| 31 | * cd lottie-qml |
| 32 | * mkdir build |
| 33 | * cd build |
| 34 | * cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON |
| 35 | * make |
| 36 | * sudo make install |
| 37 | |
| 38 | ... |
| 39 | |
| 40 | I gave up on this approach because the system QT is designed and built to be used with a complete X11 stack and that was not my idea. |
| 41 | In addition the QML of the GUI is using the KDE framwork Kirigami and needs version 2.7 which is a lot newer than what the system packages provide. |