From 5a1e30df86bd54f0abe02bf369caa0a20912c9a4 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 11 Oct 2012 14:04:21 +0200 Subject: qdoc: qdoc now can run in 2 passes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two command line options have been added, -prepare and -generate. If you run qdoc with -prepare, qdoc reads and parses the source files but does not generate the documentation. It only creates the .index file for the module you are running qdoc on. If you run qdoc with -generate, qdoc reads and parses the source files as well as the .index files created by running qdoc with -prepare, and it generates the documentation but no .index file. If you run without either option, qdoc runs as before, i.e. it runs both passes as a single pass. Task number: QTBUG-27539 Change-Id: Idbfe3f0f9dff58283596b504f00dff3f70f6e371 Reviewed-by: Tor Arne Vestbø --- src/tools/qdoc/generator.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/qdoc/generator.cpp') diff --git a/src/tools/qdoc/generator.cpp b/src/tools/qdoc/generator.cpp index 1c7727db70..c6db340f74 100644 --- a/src/tools/qdoc/generator.cpp +++ b/src/tools/qdoc/generator.cpp @@ -96,6 +96,7 @@ QStringList Generator::styleDirs; QStringList Generator::styleFiles; bool Generator::debugging_ = false; bool Generator::noLinkErrors_ = false; +Generator::Passes Generator::qdocPass_ = Both; void Generator::setDebugSegfaultFlag(bool b) { -- cgit v1.2.3