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

316.8. svgpart-26.08.2

KParts viewer for SVG images, embedded by Konqueror, Ark's preview and other part hosts

26.08.2-1 · GPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 · 0.8 SBU · 116.0 KiB, 3 files · 44_apps, 266 of 422 · ports/core/kde/svgpart

Homepage: https://invent.kde.org/graphics/svgpart

svgpart is a KParts component that displays SVG images with Qt SVG. It has no window or launcher of its own: Konqueror, Ark’s preview pane and any other program that embeds parts by MIME type load it to show an image/svg+xml file in place.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kconfig, kconfigwidgets, kcoreaddons, ki18n, kparts, kxmlgui.

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

Sources: svgpart-26.08.2.tar.xz (29.8 KiB). Every step kpkg takes applies to this port.

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

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

Directories: /usr/share/licenses/svgpart.

The part installs as kf6/parts/svgpart.so under Qt’s plugin directory, with its metainfo file; the part’s JSON metadata, compiled into the plugin, carries the MIME type it serves. qt6-qtsvg supplies both Qt6::Svg and Qt6::SvgWidgets, which the configure requires.