254.21. qt6-qtconnectivity-6.12.0
Qt 6 Bluetooth and NFC — QtBluetooth over BlueZ and QtNfc over PC/SC
6.12.0-1 · LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only · 4.4 SBU · 2.9 MiB, 223 files · 43_toolkits, 125 of 344 · ports/core/qt6/qt6-qtconnectivity
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 kdeglobalskdos themewrites.
Depends on: cmake, ninja, pkgconf, qt6-qtbase, bluez, pcsc-lite.
Required by (2): kdeconnect, python3-pyqt6.
Sources: qt6-qtconnectivity-6.12.0.tar.xz (1.0 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-qtconnectivity'
build.sh:
mkdir -p build && cd build
cmake .. -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DFEATURE_bluez=ON \
-DFEATURE_bluez_le=ON \
-DFEATURE_pcsclite=ON \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_BUILD_TESTS=OFF
ninja
DESTDIR=$PKG ninja install
rm -f "$PKG/usr/bin/sdpscanner6"
Libraries: libQt6Bluetooth.so, libQt6Nfc.so.
Directories: /usr/include/qt6/QtBluetooth, /usr/include/qt6/QtConnectivity, /usr/include/qt6/QtNfc, /usr/lib/cmake/Qt6Bluetooth, /usr/lib/cmake/Qt6BluetoothPrivate, /usr/lib/cmake/Qt6Connectivity, /usr/lib/cmake/Qt6Nfc, /usr/lib/cmake/Qt6NfcPrivate, /usr/share/licenses/qt6-qtconnectivity.