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

256.22. sonnet-qt5-5.116.0

KDE Frameworks 5 Sonnet — spell checking for Qt 5 widgets, through Hunspell and Aspell

5.116.0-1 · LGPL-2.1-or-later AND LGPL-2.0-or-later · 2.1 SBU · 1.2 MiB, 47 files · 43_toolkits, 294 of 344 · ports/core/qt-extra/sonnet-qt5

Homepage: https://api.kde.org/frameworks/sonnet/html/

Depends on: cmake, ninja, extra-cmake-modules, qt5-qtbase, qt5-qttools, hunspell, hunspell-en, aspell, aspell-en.

Required by (1): quassel.

Sources: sonnet-qt5-5.116.0.tar.xz (2.3 MiB). Every step kpkg takes applies to this port.

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

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D QT_MAJOR_VERSION=5 \
	-D BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D SONNET_USE_QML=OFF \
	-D BUILD_DESIGNERPLUGIN=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_HUNSPELL=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_ASPELL=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_HSPELL=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_VOIKKO=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
test -f "$PKG/usr/lib/cmake/KF5Sonnet/KF5SonnetConfig.cmake"
test -n "$(find "$PKG/usr/lib/qt5/plugins/kf5/sonnet" -name 'sonnet_hunspell.so')"

Programs: gentrigrams, parsetrigrams.

Libraries: libKF5SonnetCore.so, libKF5SonnetUi.so.

Directories: /usr/include/KF5, /usr/lib/cmake/KF5Sonnet, /usr/lib/qt5/plugins/kf5, /usr/share/licenses/sonnet-qt5, /usr/share/qlogging-categories5.