254.8. qt6-qtwebchannel-6.12.0
Qt 6 WebChannel — QObjects shared with HTML and JavaScript clients
6.12.0-1 · LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only · 1.5 SBU · 746.7 KiB, 99 files · 43_toolkits, 20 of 344 · ports/core/qt6/qt6-qtwebchannel
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, qt6-qtbase, qt6-qtdeclarative, qt6-qtwebsockets.
Required by (10): arianna, falkon, ghostwriter, kiwix-desktop, marble, python3-pyqt6, python3-pyqt6-webengine, python3-pyside6, qt6-qtwebengine, zeal.
Sources: qt6-qtwebchannel-6.12.0.tar.xz (190.4 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-qtwebchannel'
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
ninja
DESTDIR=$PKG ninja install
Libraries: libQt6WebChannel.so, libQt6WebChannelQuick.so.
Directories: /usr/include/qt6/QtWebChannel, /usr/include/qt6/QtWebChannelQuick, /usr/lib/cmake/Qt6WebChannel, /usr/lib/cmake/Qt6WebChannelPrivate, /usr/lib/cmake/Qt6WebChannelQuick, /usr/lib/cmake/Qt6WebChannelQuickPrivate, /usr/lib/qt6/qml/QtWebChannel, /usr/share/licenses/qt6-qtwebchannel, /usr/share/qt6/webchannel.