Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

337.8. ktrip-26.08.2

Public transport journey planner — connections and departures through KPublicTransport

26.08.2-1 · (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND CC-BY-SA-4.0 · 3.3 SBU · 670.5 KiB, 13 files · 44_apps, 218 of 422 · ports/core/gis/ktrip

Homepage: https://apps.kde.org/ktrip/

KTrip is a public-transport journey planner: it finds connections between two stops and shows a stop’s departures, with the operator’s real-time data where it has any. The queries and the operator list come from kpublictransport, and the interface is Kirigami.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kcoreaddons, ki18n, kconfig, kcrash, kirigami, kirigami-addons, qqc2-desktop-style, kpublictransport.

Required by (1): kde-gear-utilities.

Sources: ktrip-26.08.2.tar.xz (1.0 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install ktrip'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: ktrip.

Directories: /usr/share/licenses/ktrip.

Every search is a request to a transport operator’s online service, made when the user searches; nothing is fetched in the background.

The configure requires the QML modules as well as the libraries: ecm_find_qmlmodule(... REQUIRED) stops it unless org.kde.coreaddons, org.kde.kirigami, the kirigami-addons dateandtime and formcard modules and org.kde.kpublictransport with its .ui module are installed. It also requires KF6 QQC2DesktopStyle on every platform but Android, so qqc2-desktop-style is a build dependency here. Some distributions pass -DKF_IGNORE_PLATFORM_CHECK=ON for this module; the project includes no platform check for it to skip, so build.sh does not pass it.

main.cpp sets the desktop file name org.kde.ktrip, so the Wayland app_id is the name of upstream’s entry.