path: root/mkspecs/features/default_pre.prf
diff options
authorMarius Storm-Olsen <>2012-05-15 09:47:47 +0200
committerQt by Nokia <>2012-05-15 14:34:15 +0200
commit58ab3a79a0b8a719b62485e8958d30ed8891d830 (patch)
treefbfac2b71bc390678f34a335adebcbfea42e8c57 /mkspecs/features/default_pre.prf
parent8b4bf5f81634aa113029ac72721ebd9143c9ed80 (diff)
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 <>
Diffstat (limited to 'mkspecs/features/default_pre.prf')
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index c3776c4da5..f4292c3312 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -53,3 +53,8 @@ CONFIG = lex yacc warn_on debug uic resources $$CONFIG
+# Populate the installdir which will be passed to qdoc in the default_post.prf
+# This allows a project to remove the installdir if need be, to trigger building online docs,
+# which Qt Creator does.