QML-first Qt 6 components for building LLM chat UIs. This repo ships a reusable QML module plus a small set of examples.
qml -I qml examples/components/request/main.qml
qml -I qml examples/components/response/main.qml
cmake -S . -B buildcmake --build build -j./build/qtchat_integration_demo --request examples/integration-demo/request.md --response examples/integration-demo/response.md --speed 1.0
Theme testing:
QTCHAT_FORCE_THEME=dark ./build/qtchat_integration_demo ...QTCHAT_FORCE_THEME=light ./build/qtchat_integration_demo ...QTCHAT_FORCE_THEME=system ./build/qtchat_integration_demo ...
If you have make, a few shortcuts are provided:
make buildmake run(alias forrun-demo)make test(enables tests via-DQTCHAT_BUILD_TESTS=ON)
Useful variables:
make run THEME=darkmake run SPEED=0.5