<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add documentation generation option to customer project file]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">What is correct way to add documentation generation to customer Qt project?<br />
I have created correct project.qdocconf file and can create correct documentation using qdoc and qhelpgenerator tools.<br />
But how can I  add these tools to <a href="http://project.pro" target="_blank" rel="noopener noreferrer nofollow ugc">project.pro</a> file that it will be included in generated make files?<br />
I see that Qt uses QMAKE_DOCS option in Qt project files. I tried and it like<br />
QMAKE_DOCS = $$PWD/project.qdocconf but unfortunately it didn't help.</p>
<p dir="auto">Is there correct way to add generation of documentation to build process?</p>
<p dir="auto">Thank you.<br />
Oleh.</p>
]]></description><link>https://forum.qt.io/topic/83203/add-documentation-generation-option-to-customer-project-file</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 15:14:04 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/83203.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Sep 2017 06:28:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add documentation generation option to customer project file on Tue, 12 Sep 2017 12:08:31 GMT]]></title><description><![CDATA[<p dir="auto">qdoc is an internal documentation tool of Qt and is not recommended to be used outside. Use <a href="http://www.stack.nl/~dimitri/doxygen/" target="_blank" rel="noopener noreferrer nofollow ugc">doxygen</a> instead (it has the same comment syntax as qdoc, so you won't need to rewrite anything).</p>
<blockquote>
<p dir="auto">Is there correct way to add generation of documentation to build process?</p>
</blockquote>
<p dir="auto">I think building it each time you build your app is a big overhead. Consider if you really want qdoc or doxygen to parse your whole code base and regenerate all html files each time you add even a single line to the code.</p>
<p dir="auto">Anyway, something like this should work:</p>
<pre><code># Assuming your doxygen configuration file is called "project.doxyconfig"
QMAKE_POST_LINK = doxygen project.doxyconfig
</code></pre>
]]></description><link>https://forum.qt.io/post/414909</link><guid isPermaLink="true">https://forum.qt.io/post/414909</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Tue, 12 Sep 2017 12:08:31 GMT</pubDate></item></channel></rss>