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

254.10. qt6-qtpositioning-6.12.0

Qt 6 Positioning — position sources from GeoClue and NMEA

6.12.0-1 · LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only · 3.1 SBU · 2.8 MiB, 188 files · 43_toolkits, 22 of 344 · ports/core/qt6/qt6-qtpositioning

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.

Qt Positioning for Qt 6 is the QtPositioning library and its QML types: QGeoPositionInfoSource reports where the machine is, through plugins. This port builds the GeoClue plugin, which asks geoclue over D-Bus, the NMEA plugin, which reads a GPS receiver’s NMEA sentences from a serial port through qt6-qtserialport or from a file, and the positionpoll plugin, which watches for entering and leaving an area by polling a position source.

Depends on: cmake, ninja, qt6-qtbase, qt6-qtdeclarative, qt6-qtserialport, geoclue.

Required by (19): gpxsee, itinerary, klog, knighttime, koko, kongress, kpublictransport, kweathercore, marble, neochat, organicmaps, plasma-workspace, python3-pyqt6, qcad, qgis, qt6-qtlocation, qt6-qtwebengine, sdrangel, stellarium.

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

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_gypsy=OFF
ninja
DESTDIR=$PKG ninja install

Libraries: libQt6Positioning.so, libQt6PositioningQuick.so.

Directories: /usr/include/qt6/QtPositioning, /usr/include/qt6/QtPositioningQuick, /usr/lib/cmake/Qt6Positioning, /usr/lib/cmake/Qt6PositioningPrivate, /usr/lib/cmake/Qt6PositioningQuick, /usr/lib/cmake/Qt6PositioningQuickPrivate, /usr/lib/qt6/plugins/position, /usr/lib/qt6/qml/QtPositioning, /usr/share/licenses/qt6-qtpositioning.

Like every Qt 6 module but qt6-qtbase, it passes no install paths of its own (see How Qt 6 is built).