Generate QDoc locally
Luc Schrijvers
begasus at gmail.com
Wed Dec 10 07:52:15 GMT 2025
Not sure if it's the right way but I got the next in my frameworks recipes:
cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
Op wo 10 dec 2025 om 06:48 schreef Igor Mironchik <igor.mironchik at gmail.com
>:
> Maybe I miss some binaries? And prepare_docs and generate_docs just do
> nothing...
>
> I have qdoc6, cmake, make... What necessary things should I have?
> On 10/12/2025 07:38, Igor Mironchik wrote:
>
> Hi.
>
> I want to generate locally the documentation for md4qt
> https://invent.kde.org/libraries/md4qt
>
> I have clone of md4qt and kde-qdoc-common
>
> I do:
>
> export KDE_DOCS=/home/igor/Work/Projects/kde-qdoc-common
> cmake -DDOC_DESTDIR=/home/igor/doc -B build_md4qt md4qt
> cmake -DDOC_DESTDIR=/home/igor/doc -B build_common kde-qdoc-common/
> cmake --build build_md4qt/ -t prepare_docs
> cmake --build build_common/ -t prepare_docs
> cmake --build build_md4qt/ -t generate_docs
> cmake --build build_common/ -t generate_docs
>
> I see messages like:
>
> Built target prepare_docs
> Built target generate_docs
>
> But the documentation in /home/igor/docs does not appear. I dont see HTML
> files anywhere...
>
> On 10/12/2025 00:55, Harald Sitter wrote:
>
> Hey,
>
> You might need to tell us what "don't work" means. Cause I've just
> generated docs using
>
> export KDE_DOCS=~/src/kde-qdoc-common/
> ninja && ninja prepare_docs && ninja generate_docs
>
> On Tue, Dec 9, 2025 at 5:28 AM Igor Mironchik <igor.mironchik at gmail.com> <igor.mironchik at gmail.com> wrote:
>
> Hi.
>
> How can I generate QDoc documentation locally?
>
> Instructions at https://invent.kde.org/sdk/kde-qdoc-common don't work.
>
> Thanks.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20251210/64ac9726/attachment.htm>
More information about the kde-devel
mailing list