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

254.26. qt6-qtgraphs-6.12.0

Qt 6 Graphs — 2D and 3D data visualisation for QML and widgets

6.12.0-1 · GPL-3.0-only · 4.3 SBU · 6.8 MiB, 351 files · 43_toolkits, 306 of 344 · ports/core/qt6/qt6-qtgraphs

Homepage: https://www.qt.io

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

Built with the Wayland and xcb platforms. QT_QPA_PLATFORM is wayland;xcb, so a Qt application falls back to Xwayland only when the Wayland plugin cannot start, and QT_QPA_PLATFORMTHEME=kde makes it read its palette, fonts and icons from the kdeglobals kdos theme writes.

Depends on: cmake, ninja, qt6-qtbase, qt6-qtdeclarative, qt6-qtquick3d.

Required by (2): gcompris, kinfocenter.

Sources: qt6-qtgraphs-6.12.0.tar.xz (8.9 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 qt6-qtgraphs'

build.sh:

mkdir build && cd build
cmake .. -G Ninja \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DQT_BUILD_TESTS=OFF \
	-DQT_BUILD_EXAMPLES=OFF \
	-DFEATURE_graphs_2d=ON \
	-DFEATURE_graphs_3d=ON
ninja
DESTDIR=$PKG ninja install

Libraries: libQt6Graphs.so, libQt6Graphs2DImpl.so, libQt6GraphsWidgets.so.

Directories: /usr/include/qt6/QtGraphs, /usr/include/qt6/QtGraphs2DImpl, /usr/include/qt6/QtGraphsWidgets, /usr/lib/cmake/Qt6Graphs, /usr/lib/cmake/Qt6Graphs2DImpl, /usr/lib/cmake/Qt6GraphsPrivate, /usr/lib/cmake/Qt6GraphsWidgets, /usr/lib/cmake/Qt6GraphsWidgetsPrivate, /usr/lib/qt6/qml/QtGraphs, /usr/lib/qt6/qml/QtGraphs2D, /usr/share/licenses/qt6-qtgraphs.