Set QMAKE_DOCS_INSTALLDIR to $$[QT_INSTALL_DOCS] to allow overriding in .pro
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Tue, 15 May 2012 07:47:47 +0000 (09:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 15 May 2012 12:34:15 +0000 (14:34 +0200)
commit58ab3a79a0b8a719b62485e8958d30ed8891d830
treefbfac2b71bc390678f34a335adebcbfea42e8c57
parent8b4bf5f81634aa113029ac72721ebd9143c9ed80
Set QMAKE_DOCS_INSTALLDIR to $$[QT_INSTALL_DOCS] to allow overriding in .pro

Normally you want to pass -installdir $$[QT_INSTALL_DOCS] to qdoc by
default. However, if you want to force the generation of URL links to
the documentation, the option cannot be specified.

By setting the QMAKE_DOCS_INSTALLDIR variable in default_pre.prf a
project may override it at will, as for example Qt Creator would do.

Change-Id: Ib31f03acf4e8050cf2dd3aa33f3a10ed027f1df7
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
mkspecs/features/default_post.prf
mkspecs/features/default_pre.prf