Generate QDoc locally

Igor Mironchik igor.mironchik at gmail.com
Wed Dec 10 05:47:44 GMT 2025


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> wrote:
>>> Hi.
>>>
>>> How can I generate QDoc documentation locally?
>>>
>>> Instructions athttps://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/93826728/attachment.htm>


More information about the kde-devel mailing list