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

257.47. ktexttemplate-6.31.0

KDE Frameworks: text template engine, for KDevelop's templates

6.31.0-1 · LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause · 1.4 SBU · 1.9 MiB, 68 files · 43_toolkits, 114 of 344 · ports/core/kf6/ktexttemplate

Homepage: https://invent.kde.org/frameworks/ktexttemplate

KTextTemplate is a string template engine in the style of Django’s: a template with variables, filters, {% if %} and {% for %} tags and inheritance is rendered against a context of Qt values. kdevelop fills its file and project templates with it, rocs links it, and KDE PIM’s message themes are rendered through it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative.

Required by (8): akonadi-contacts, grantleetheme, kcalutils, kdepim-addons, kdevelop, khelpcenter, messagelib, rocs.

Sources: ktexttemplate-6.31.0.tar.xz (830.2 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install ktexttemplate'

build.sh:

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

Libraries: libKF6TextTemplate.so.

Directories: /usr/include/KF6/KTextTemplate, /usr/lib/cmake/KF6TextTemplate, /usr/share/licenses/ktexttemplate.

The source carries no translations, so the recipe has no KF_SKIP_PO_PROCESSING.