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

255.3. qt5-qtsvg-5.15.19

Qt 5 SVG rendering — QSvgRenderer, QSvgWidget and the SVG image and icon engine plugins

5.15.19-1 · LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only · 0.6 SBU · 722.1 KiB, 43 files · 43_toolkits, 268 of 344 · ports/core/qt5/qt5-qtsvg

Homepage: https://www.qt.io/

Why it is in KDOS. The comment above the 11 ports from qt5-qtbase to qt5-qttools in script/phases/43_toolkits/packages.d/qt5.txt:

For the applications with no Qt 6 release: VLC 3, KeePassXC, QSSTV, WSJT-X, Mumble, Quassel, LMMS, LibreCAD, DB Browser for SQLite and GNU Radio.

Qt SVG renders SVG Tiny 1.2 drawings for Qt 5: the QSvgRenderer and QSvgWidget classes of the QtSvg library, and the two plugins through which every Qt 5 program reads SVG without asking for it, the image format plugin behind QImage and the icon engine behind QIcon. Without it a Qt 5 program draws no SVG icon from a theme.

Depends on: qt5-qtbase, zlib.

Required by (10): gnuradio, keepassxc, librecad, mumble, python3-pyqt5, qt5ct, quassel, qwt-qt5, smplayer, vlc.

Sources: qt5-qtsvg-5.15.19.tar.xz (1.8 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 qt5-qtsvg'

build.sh:

/usr/lib/qt5/bin/qmake
make
make INSTALL_ROOT="$PKG" install

Libraries: libQt5Svg.so.

Directories: /usr/include/qt5/QtSvg, /usr/lib/cmake/Qt5Svg, /usr/lib/qt5/plugins/iconengines, /usr/share/licenses/qt5-qtsvg.

The build is qmake’s plain shape: /usr/lib/qt5/bin/qmake writes the makefiles from the module’s .pro files, reading the install paths and compiler flags of qt5-qtbase’s mkspec, and INSTALL_ROOT stages the install. The module is at qt5-qtbase’s version: it compiles against Qt’s private headers (core-private, gui-private and widgets-private), which carry no promise from one Qt release to the next.