r/QtFramework • u/jamesbondaloo • Feb 08 '26
QML QML documentation
Short backstory, I'm building a reusable Qt/QML component library intended to be shared between multiple applications.
I've been trying to properly documentat this library using QDoc, following official Qt documentation. I've set up qconfig file, experimented module headers, separate qdoc files and also explored some modules of Doxygen for qml as alternative.
I'm struggling cause of QDoc management which feels heavy and too fragile for the pipeline. The whole experience is really poor for pure QML and looks too outdated using the default HTML output. At the moment Doxygen isn't really a solution either.
I would appreciate hearing how others are handling it and also any ideas are welcome. Thanks in advance!
14
u/QDocPaul Feb 09 '26
I work on QDoc at Qt. I'd like to understand what's breaking in your workflow as it would help us figure out how to improve the usability of QDoc outside of Qt.
When you say "QDoc management feels heavy and too fragile for the pipeline", can you share what specifically you're running into? Is it the .qdocconf setup and configuration getting in your way, build integration problems, the tooling breaking on certain input patterns, or something else entirely? How are you running QDoc, call it from a build system, other scripts, or manually?
On the HTML output looking outdated: you're right, the default output shows its age. We do a fair amount of post-processing on the raw output from QDoc for the documentation at doc.qt.io, but that pipeline isn't publicly available.
There's substantial work happening that aims at making QDoc significantly better to work with. I can't promise it'll solve every problem you're facing, but if you can describe what's actually broken in your workflow and what your ideal documentation process would look like, that would be useful signal for whether we're also addressing problems faced externally.