Kaidan issueshttps://invent.kde.org/network/kaidan/-/issues2022-10-24T16:07:21Zhttps://invent.kde.org/network/kaidan/-/issues/9Support SailfishOS2022-10-24T16:07:21ZBhushan ShahSupport SailfishOS*Created by: MRZA-MRZA*
As I'm going to work on SailfishOS version of Kaidan I wonder how we should handle SailfishOS specific changes, e. g. in qml files.
For SailfishOS there is need of rpm spec file and modified project file. Ther...*Created by: MRZA-MRZA*
As I'm going to work on SailfishOS version of Kaidan I wonder how we should handle SailfishOS specific changes, e. g. in qml files.
For SailfishOS there is need of rpm spec file and modified project file. There also maybe other changes.
What is the best way to avoid breaking things, incompatibility and other mess?https://invent.kde.org/network/kaidan/-/issues/5Use Travis-CI for automated build checks2022-10-24T16:07:21ZBhushan ShahUse Travis-CI for automated build checks*Created by: LNJ2*
We will only need a script that will install all dependencies and builds Kaidan.
The builds run on ubuntu VMs.
Here is an example how the config file could look like:
`.travis.yml`
```yml
language: cpp
before_...*Created by: LNJ2*
We will only need a script that will install all dependencies and builds Kaidan.
The builds run on ubuntu VMs.
Here is an example how the config file could look like:
`.travis.yml`
```yml
language: cpp
before_install: ./util/travis/before_install.sh
script: ./util/travis/script.sh
sudo: required
notifications:
email: false
matrix:
fast_finish: true
include:
- env: PLATFORM=Win32
compiler: gcc
os: linux
- env: PLATFORM=Win64
compiler: gcc
os: linux
- env: PLATFORM=Unix COMPILER=clang
compiler: clang
os: osx
- env: PLATFORM=Unix COMPILER=g++
compiler: gcc
os: linux
- env: PLATFORM=Unix COMPILER=clang
compiler: clang
os: linux
- env: PLATFORM=Unix COMPILER=g++-6
compiler: gcc
os: linux
```
Here is a good example for using it:
https://travis-ci.org/minetest/minetest
You can also add a PNG to the README that show if the latest build has failed:
https://github.com/minetest-games/af8
The only thing we need is a working build script, that installs all dependencies and creates a build (on ubuntu, for all possible platforms).https://invent.kde.org/network/kaidan/-/issues/384Android build broken: problems with new icons2020-12-24T16:40:44ZLinus JahnAndroid build broken: problems with new icons```
make[2]: *** No rule to make target '/home/user/workspace/Kaidan_android/src/kaidan/3rdparty/breeze-icons/icons/status/symbolic/emblem-system-symbolic.svg', needed by 'kaidan_autogen/EWIEGA46WW/qrc_kirigami-icons.cpp'. Stop.
```
See...```
make[2]: *** No rule to make target '/home/user/workspace/Kaidan_android/src/kaidan/3rdparty/breeze-icons/icons/status/symbolic/emblem-system-symbolic.svg', needed by 'kaidan_autogen/EWIEGA46WW/qrc_kirigami-icons.cpp'. Stop.
```
See https://binary-factory.kde.org/job/Kaidan_android/338/console
I guess this was caused by https://invent.kde.org/network/kaidan/-/merge_requests/634.0.7Melvin Keskinmelvo@olomono.deMelvin Keskinmelvo@olomono.dehttps://invent.kde.org/network/kaidan/-/issues/322Replace static_plugins.h by CMake `qt5_import_plugins()`2020-09-20T14:22:47ZLinus JahnReplace static_plugins.h by CMake `qt5_import_plugins()`See https://doc.qt.io/qt-5/qtcore-cmake-qt5-import-plugins.html
###### We need to wait until we've got Qt 5.14 everywhere (CI) thoughSee https://doc.qt.io/qt-5/qtcore-cmake-qt5-import-plugins.html
###### We need to wait until we've got Qt 5.14 everywhere (CI) thoughhttps://invent.kde.org/network/kaidan/-/issues/285Move kaidan_qml.qrc into src/2019-12-16T18:29:52ZLinus JahnMove kaidan_qml.qrc into src/```
<RCC>
<qresource prefix="/">
<file alias="qml/main.qml">src/qml/main.qml</file>
```
->
```
<RCC>
<qresource prefix="/">
<file>qml/main.qml</file>
```
Also misc/qtquickcontrols2.conf needs to be added to a d...```
<RCC>
<qresource prefix="/">
<file alias="qml/main.qml">src/qml/main.qml</file>
```
->
```
<RCC>
<qresource prefix="/">
<file>qml/main.qml</file>
```
Also misc/qtquickcontrols2.conf needs to be added to a different qrc.https://invent.kde.org/network/kaidan/-/issues/18Use CMake2018-07-14T11:28:30ZBhushan ShahUse CMake*Created by: LNJ2*
Just some notes (more or less for me):
### Swiften cmake module (I've found on github)
https://github.com/hanzz/spectrum2/blob/master/cmake_modules/SwiftenConfig.cmake
### kirigami git repo (with cmake scripts)...*Created by: LNJ2*
Just some notes (more or less for me):
### Swiften cmake module (I've found on github)
https://github.com/hanzz/spectrum2/blob/master/cmake_modules/SwiftenConfig.cmake
### kirigami git repo (with cmake scripts)
https://cgit.kde.org/kirigami.git/tree/README.md
This should make it easier to build apks with kirigami and to find packages like swiften. (I'm not satisfied with the current solution)