Re: Generate QDoc locally

Igor Mironchik <[email protected]>
Newsgroups gmane.comp.kde.devel.general
Message-ID <[email protected]>
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<[email protected]> wrote:
>> Hi.
>>
>> How can I generate QDoc documentation locally?
>>
>> Instructions athttps://invent.kde.org/sdk/kde-qdoc-common don't work.
>>
>> Thanks.
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.