QDoc: Implement -installdir CLI option for module cross-linking.
authorCasper van Donderen <casper.vandonderen@nokia.com>
Mon, 23 Apr 2012 14:47:43 +0000 (16:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Apr 2012 08:29:56 +0000 (10:29 +0200)
commit82fcbe9d7d7505bb2e3fc53789e14405e73d5302
tree7048f5b8942f936bba980914383272c0d2682384
parent3de77c3daa3e7ddda7d297a2cc2061296297d7f6
QDoc: Implement -installdir CLI option for module cross-linking.

QDoc needs to know the final location of the installed documentation to
generate correct relative links between the modules. Normally you can
use QLibraryInfo::DocumentationPath for this, but since QDoc gets compiled
during Qt bootstrapping QLibraryInfo is not available yet.
The -installdir option still allows us to specify
QLibraryInfo::DocumentationPath  on the command line.

Change-Id: Ic4729f4daad112f0d175931467cf09cfcf5145a3
Reviewed-by: Martin Smith <martin.smith@nokia.com>
src/tools/qdoc/config.cpp
src/tools/qdoc/config.h
src/tools/qdoc/main.cpp
src/tools/qdoc/tree.cpp