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

254.31. qt6-qthttpserver-6.12.0

Qt 6 HTTP Server — an embeddable HTTP server with request routing and WebSocket upgrades

6.12.0-1 · GPL-3.0-only · 1.0 SBU · 598.3 KiB, 75 files · 43_toolkits, 311 of 344 · ports/core/qt6/qt6-qthttpserver

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

Qt HTTP Server for Qt 6 is a small HTTP server library: a QHttpServer with request routing on URL patterns and handler return types, responses built from Qt types, and the upgrade of a connection to a WebSocket. Applications embed it to serve a local interface; arianna serves the open book to its reader view through it.

Depends on: cmake, ninja, qt6-qtbase, qt6-qtwebsockets.

Required by (2): arianna, qt-creator.

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

build.sh:

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

Libraries: libQt6HttpServer.so.

Directories: /usr/include/qt6/QtHttpServer, /usr/lib/cmake/Qt6HttpServer, /usr/lib/cmake/Qt6HttpServerPrivate, /usr/share/licenses/qt6-qthttpserver.

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