Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

README.md 1.31 KB
Newer Older
Nicolas Fella's avatar
Nicolas Fella committed
1
# Summary
Nicolas Fella's avatar
Nicolas Fella committed
2
KTrip is a public transport assistant targeted towards mobile Linux and Android.
Nicolas Fella's avatar
Nicolas Fella committed
3

Nicolas Fella's avatar
Nicolas Fella committed
4
It allows to query journeys for a wide range of countries/public transport providers by leveraging [KPublicTransport](https://cgit.kde.org/kpublictransport.git/).
Nicolas Fella's avatar
Nicolas Fella committed
5

Nicolas Fella's avatar
Nicolas Fella committed
6
# Get it
Nicolas Fella's avatar
Nicolas Fella committed
7

Nicolas Fella's avatar
Nicolas Fella committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Prebuilt Android apks can be found at [KDE's binary factory](https://binary-factory.kde.org/view/Android/job/KTrip_android/).

# Building

KTrip depends on Qt 5 and a number of KDE Frameworks:
- KCoreAddons
- KI18n
- KConfig
- KItemModels
- Kirigami
- KPublicTransport

## Linux

`git clone https://invent.kde.org/kde/ktrip`

`cd ktrip`

`mkdir build`

`cd build`

`cmake -DCMAKE_INSTALL_PREFIX=/usr ..`

`make`

`sudo make install`

This assumes that all dependencies are installed. If your distribution does not provide them you can use [kdesrc-build](https://kdesrc-build.kde.org/) to build all of them conveniently.

## Android

You can build KTrip for Android using KDE's [Docker-based build environment](https://community.kde.org/Android/Environment_via_Container).

## Windows

You can build KTrip on Windows using KDE's [Craft](https://community.kde.org/Craft).

## macOS and iOS

Running on macOS and iOS should be possible in theory, but is untested. Building on macOS should be possible using KDE's [Craft](https://community.kde.org/Craft). Patches are welcome.